diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-05-20 17:14:10 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-05-20 17:22:13 +0200 |
commit | 47c52ae7bbfec87a80fb583fb0753b4d77b0ba1d (patch) | |
tree | 9d8e512783b60899296d5240321f40ba46b9af24 /COPYING | |
parent | 6c11b8985cbd8fbb5525a4c4d2338603b81729c5 (diff) | |
download | calcurse-47c52ae7bbfec87a80fb583fb0753b4d77b0ba1d.tar.gz calcurse-47c52ae7bbfec87a80fb583fb0753b4d77b0ba1d.zip |
src/utils.c: Disable canonical mode in press_any_key()
Use tcsetattr() to disable canonical mode in press_any_key() before
waiting for a key press. This makes sure that input is available
immediately (instead of line by line). Also, disable echoing until a key
is pressed.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions