summaryrefslogtreecommitdiff
path: root/%2525252525252525253fid%2525252525252525253d61472a32cdb3e538f954ceb2656d0c41b...
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2012-05-20 17:14:10 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2012-05-20 17:22:13 +0200
commit47c52ae7bbfec87a80fb583fb0753b4d77b0ba1d (patch)
tree9d8e512783b60899296d5240321f40ba46b9af24 /%2525252525252525253fid%2525252525252525253d61472a32cdb3e538f954ceb2656d0c41b4cd0b9d%25252525252525253fid%25252525252525253d61472a32cdb3e538f954ceb2656d0c41b4cd0b9d%252525252525253fid%252525252525253d9719de8ea3a88f2968378ff213202737dc9f3dda%2525252525253fid%2525252525253d94a5d4cb1bc6a8f09995182dc9f07e4156255a8e%25252525253fid%25252525253dcfd8ede2b3c7248bd3b78e71ef17bdc9eb819aae%252525253fid%252525253dcfd8ede2b3c7248bd3b78e71ef17bdc9eb819aae%2525253fid%2525253dcfd8ede2b3c7248bd3b78e71ef17bdc9eb819aae%25253fid%25253d47c52ae7bbfec87a80fb583fb0753b4d77b0ba1d%253fid%253d47c52ae7bbfec87a80fb583fb0753b4d77b0ba1d&id2%253d6c11b8985cbd8fbb5525a4c4d2338603b81729c5%3fid%3d47c52ae7bbfec87a80fb583fb0753b4d77b0ba1d&id2%3d6c11b8985cbd8fbb5525a4c4d2338603b81729c5?id=47c52ae7bbfec87a80fb583fb0753b4d77b0ba1d
parent6c11b8985cbd8fbb5525a4c4d2338603b81729c5 (diff)
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 '%2525252525252525253fid%2525252525252525253d61472a32cdb3e538f954ceb2656d0c41b4cd0b9d%25252525252525253fid%25252525252525253d61472a32cdb3e538f954ceb2656d0c41b4cd0b9d%252525252525253fid%252525252525253d9719de8ea3a88f2968378ff213202737dc9f3dda%2525252525253fid%2525252525253d94a5d4cb1bc6a8f09995182dc9f07e4156255a8e%25252525253fid%25252525253dcfd8ede2b3c7248bd3b78e71ef17bdc9eb819aae%252525253fid%252525253dcfd8ede2b3c7248bd3b78e71ef17bdc9eb819aae%2525253fid%2525253dcfd8ede2b3c7248bd3b78e71ef17bdc9eb819aae%25253fid%25253d47c52ae7bbfec87a80fb583fb0753b4d77b0ba1d%253fid%253d47c52ae7bbfec87a80fb583fb0753b4d77b0ba1d&id2%253d6c11b8985cbd8fbb5525a4c4d2338603b81729c5%3fid%3d47c52ae7bbfec87a80fb583fb0753b4d77b0ba1d&id2%3d6c11b8985cbd8fbb5525a4c4d2338603b81729c5?id=47c52ae7bbfec87a80fb583fb0753b4d77b0ba1d')
0 files changed, 0 insertions, 0 deletions