OSDN Git Service
(root)
/
ntch
/
develop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ccf867
)
Fix: unable to recognize key_pad_code after writing.
author
Akira
<akohta001@gmail.com>
Tue, 17 Dec 2013 14:50:57 +0000
(23:50 +0900)
committer
Akira
<akohta001@gmail.com>
Tue, 17 Dec 2013 14:50:57 +0000
(23:50 +0900)
Makefile
patch
|
blob
|
history
src/main.c
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
ffeceeb
..
ea9aaaf
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-6,7
+6,7
@@
#Option for development
#CFLAGS = -g -Wall -DDEBUG ${DEFS} ${CDEF}
#Option for release
-CFLAGS = -
O2 -
Wall ${DEFS} ${CDEF}
+CFLAGS = -Wall ${DEFS} ${CDEF}
CDEF = -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED -D_XOPEN_SOURCE=700 -D_ISOC99_SOURCE
diff --git
a/src/main.c
b/src/main.c
index
dc4b109
..
9dd91d2
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-490,6
+490,7
@@
static BOOL DoLoop(WINDOW *scrp, nt_usr_db_handle db_handle,
continue;
}
}
+ keypad(stdscr, true);
status_msg = nt_write_data_get_status_msg(h_write_data);
wclear(scrp);
continue;
@@
-515,6
+516,7
@@
static BOOL DoLoop(WINDOW *scrp, nt_usr_db_handle db_handle,
}
}
}
+ keypad(stdscr, true);
disp_state = DISP_STATE_RESLIST;
state = DISP_STATE_RESLIST;
ch = NT_KEY_NONE;