Commit Graph

9 Commits

Author SHA1 Message Date
Xiang Xiao
1154735ca6 Refine the preprocess conditional guard style 2020-01-31 11:04:10 -06:00
Ken Pettit
edbf31a341 system/termcurses/tcurses_vt100.c: Fix spelling error in last commit. 2019-01-17 09:13:00 -06:00
Ken Pettit
42f3c06389 system/termcurses/tcurses_vt100.c: Eliminate a warning. 2019-01-17 08:58:11 -06:00
Gregory Nutt
a79b89202e system/termcurses/tcurses_vt100.c: Costmetic vertical alignment. 2019-01-17 08:39:29 -06:00
Ken Pettit ‎
b285dd9b68 Perform a bounds check to fix a random Termcurses crash that I haven't been able to track down. The result of of the subtraction for priv->keycount should never be negative, but I think sometimes it is, so better to catch it and avoid a crash until I can track it down. 2019-01-16 18:22:16 -06:00
Ken Pettit
cb4974cee8 apps/system/termcurses/tcurses_vt100.c: Fix an issue where the first curses 'getch()' call sometimes (usually) hangs waiting for a keypress. This bug was introduced when I fixed the keyboard 'paste' overflow error. 2019-01-11 07:41:04 -06:00
Ken Pettit
e1237bfefd apps/graphics/pdcurs34/nuttx and system/termcurses: This commit fixes two issues:
1. A memory corruption issue that occurs from a paste operation that would overflow the fixed buffer size for keyboard processing.

2. A stall in getch() processing when there are cached keycodes in the termcurses emulation (tcurses_vt100.c).
2019-01-08 08:28:27 -06:00
Gregory Nutt
298c76e611 apps/system/termcurses/tcurses_vt100.c: Fix an error introduced during review of recent patch. 2019-01-05 13:52:51 -06:00
Ken Pettit
fcd15d8786 apps/system/termcurses: Addition of termcurses libraries in apps/system/termcurses 2019-01-05 12:40:26 -06:00