diff options
author | Lukas Fleischer <lfleischer@calcurse.org> | 2019-02-10 21:40:11 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2019-02-10 21:40:11 +0100 |
commit | 6cd67311e30c2dc3c138f339b536679ad1a8d5f4 (patch) | |
tree | 465aa84c4f5bbdd90112105e748f0038f1cf3dfe /build-aux%25252525253fid%25252525253de72d9849060e60740c8146df2507edcfb9bb730f%252525253fid%252525253de72d9849060e60740c8146df2507edcfb9bb730f&id2%252525253d61ca7cf86427e0ec00c521f08685da7e949c7f59%2525253fid%2525253de72d9849060e60740c8146df2507edcfb9bb730f%25253fid%25253d61ca7cf86427e0ec00c521f08685da7e949c7f59%253fid%253d6cd67311e30c2dc3c138f339b536679ad1a8d5f4%3fid%3d6cd67311e30c2dc3c138f339b536679ad1a8d5f4&id2%3d0bbe802002c660dd9d555d557ce8daa7c5d681b9?id=6cd67311e30c2dc3c138f339b536679ad1a8d5f4 | |
parent | 0bbe802002c660dd9d555d557ce8daa7c5d681b9 (diff) |
Check for KEY_ENTER in getstring()
In some cases (e.g., TERM=pccon0) wgetch(3) can return KEY_ENTER instead
of '\n' when the return key is pressed, causing getstring() to fail.
Suggested-by: Mikolaj Kucharski <mikolaj@kucharski.name>
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'build-aux%25252525253fid%25252525253de72d9849060e60740c8146df2507edcfb9bb730f%252525253fid%252525253de72d9849060e60740c8146df2507edcfb9bb730f&id2%252525253d61ca7cf86427e0ec00c521f08685da7e949c7f59%2525253fid%2525253de72d9849060e60740c8146df2507edcfb9bb730f%25253fid%25253d61ca7cf86427e0ec00c521f08685da7e949c7f59%253fid%253d6cd67311e30c2dc3c138f339b536679ad1a8d5f4%3fid%3d6cd67311e30c2dc3c138f339b536679ad1a8d5f4&id2%3d0bbe802002c660dd9d555d557ce8daa7c5d681b9?id=6cd67311e30c2dc3c138f339b536679ad1a8d5f4')
0 files changed, 0 insertions, 0 deletions