Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(tty): enhance TTY support with Termios implementation #181

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

Stone749990226
Copy link

  • Introduce Termios structure with c_cflags, c_iflags and other POSIX-compliant fields
  • Add ioctl methods for terminal attribute control
  • Remove optional 'tty' feature flag, make TTY support a core component

Key enhancements include:
​1. Integrated busybox vi​ support allowing in-terminal file editing operations.
​2. Control character echo​ implementation for proper display of ^C/^Z etc.
3. TTY Modes: The terminal now supports both canonical mode (line-buffered input with special character processing) and raw mode (unprocessed byte-stream input with immediate delivery).

- Introduce Termios structure with c_cflags, c_iflags and other POSIX-compliant fields
- Add ioctl methods for terminal attribute control
- Remove optional 'tty' feature flag, make TTY support a core component
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant