mirror of
https://github.com/ilyakooo0/vty.git
synced 2024-11-25 19:22:08 +03:00
4362b3cb1c
This commit adds getTtyEraseChar. This function queries the kernel for the current terminal's settings to obtain the character assigned by the "stty erase" command. The "erase" character indicates which input character the terminal should interpret to mean "backspace" when the terminal is in canonical input mode. Vty applications run with canonical mode disabled, but even in those cases some users may want their "stty erase" setting honored by Vty's input-handling so that incoming erase characters (according to stty) result in "KBS" key events being delivered to the application. |
||
---|---|---|
.. | ||
Demo.hs | ||
ModeDemo.hs |