Windows ConPTY Wrapper (win/conpty.rs)

openinterpreter · codex-rs/utils/pty/src/win/conpty.rs · rust · Apache-2.0
infra, cli, lang:rust, tag:windows, tag:conpty

Rust bindings for Windows ConPTY API providing pseudo-terminal creation, master/slave PTY handles for spawning interactive processes on Windows.

#![allow(clippy::unwrap_used)]
// Source: https://github.com/openinterpreter/openinterpreter | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.

// This file is copied from https://github.com/wezterm/wezterm (MIT license).
// Copyright (c) 2018-Present Wez Furlong
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to th

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key