Commit MetaInfo

修订版43de8bf88832efc25029579d66e488b7fb2ab512 (tree)
时间2013-12-17 23:50:57
作者Akira <akohta001@gmai...>
CommiterAkira

Log Message

Fix: unable to recognize key_pad_code after writing.

更改概述

差异

--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@
66 #Option for development
77 #CFLAGS = -g -Wall -DDEBUG ${DEFS} ${CDEF}
88 #Option for release
9-CFLAGS = -O2 -Wall ${DEFS} ${CDEF}
9+CFLAGS = -Wall ${DEFS} ${CDEF}
1010
1111 CDEF = -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED -D_XOPEN_SOURCE=700 -D_ISOC99_SOURCE
1212
--- a/src/main.c
+++ b/src/main.c
@@ -490,6 +490,7 @@ static BOOL DoLoop(WINDOW *scrp, nt_usr_db_handle db_handle,
490490 continue;
491491 }
492492 }
493+ keypad(stdscr, true);
493494 status_msg = nt_write_data_get_status_msg(h_write_data);
494495 wclear(scrp);
495496 continue;
@@ -515,6 +516,7 @@ static BOOL DoLoop(WINDOW *scrp, nt_usr_db_handle db_handle,
515516 }
516517 }
517518 }
519+ keypad(stdscr, true);
518520 disp_state = DISP_STATE_RESLIST;
519521 state = DISP_STATE_RESLIST;
520522 ch = NT_KEY_NONE;
Show on old repository browser