first approach to pty

This commit is contained in:
2025-07-16 21:45:26 +02:00
parent 5ba5a52c14
commit aed22a3dbc
11 changed files with 268 additions and 956 deletions

17
AGENTS.md Normal file
View File

@@ -0,0 +1,17 @@
## Agent Instructions
### Build, Lint, and Test
- Build: `cargo build`
- Lint: `cargo clippy`
- Test: `cargo test`
- Run a single test: `cargo test --test <test_name>`
### Code Style
- **Formatting**: Use `cargo fmt` to format the code.
- **Imports**: Group imports by standard library, external crates, and project modules.
- **Types**: Use explicit types.
- **Naming Conventions**: Follow Rust's naming conventions (e.g., `snake_case` for variables and functions, `PascalCase` for types).
- **Error Handling**: Use `Result` and `?` for error propagation. Use `panic!` only for unrecoverable errors.
- **Logging**: Use the `log` crate for logging.