summaryrefslogtreecommitdiffstats
path: root/src/poem/anthology/alias.rs
diff options
context:
space:
mode:
authorRory Dudley2024-09-30 21:55:37 -0600
committerRory Dudley2024-09-30 23:01:56 -0600
commit9cbd90dc5cd35a63bff1c2d177632fe9b2bca381 (patch)
tree4bb7542252ccfee7170c7780e559f7edb580a198 /src/poem/anthology/alias.rs
parent9f5512442177b1242e40c25c14b0ae5d8e6f5359 (diff)
downloaddwarvish-9cbd90dc5cd35a63bff1c2d177632fe9b2bca381.tar.gz
Fixed a bug introduced with termios
When at the prompt, ICANON and ECHO should be turned off, since all the output logic is handled via getline()/getchar(). However, they need to be turned back on (alongside ECHOE, which allows for backspace characters to work properly with ICANON), in case other programs need to get user input, their input will echo to the terminal. Signed-off-by: Rory Dudley <rory@netc.lu>
Diffstat (limited to 'src/poem/anthology/alias.rs')
0 files changed, 0 insertions, 0 deletions