Closed eatradish closed 10 months ago
Maybe we should rollback #717 ?
Maybe we should rollback #717 ?
Perhaps it could also be maintained by rustyline's author fork a termios? I'm not sure which is the better option
Maybe we should rollback #717 ?
Perhaps it could also be maintained by rustyline's author fork a termios? I'm not sure which is the better option
I would prefer to put termios-rs
behind an optional feature (and keep using nix
by default as before).
(I suppose that you can activate termios-rs
based on OS)
If you're interested, another option would be to use rustix's termios API, which doesn't have the issues of https://github.com/nix-rust/nix/issues/2071 or https://github.com/dcuddeback/termios-rs/pull/37.
@sunfishcode
But possibly rustix
specific issues...
nix termios usages => 702 rustix termios usages => 36
Version 13.0.0 released.
The reason for this is that some of the terminal control constants in
termios
are wrong in some architectures, specifically at: https://github.com/dcuddeback/termios-rs/pull/37 but it looks like the termios authors don't show up much anymore, rustlyline Is it possible to fix the problem on your own code? The solution is simple: change all variables liketermios::VEOF
tolibc::VEOF