patching again the terminal
This commit is contained in:
parent
2362957692
commit
8bb519fe17
@ -1,7 +1,7 @@
|
||||
|
||||
CC = gcc
|
||||
CCOPT = -Wall -g -DDEBUG_LEVEL=1
|
||||
CLIB = core/libdd2m-core.a viz/libdd2m-viz.a
|
||||
CLIB = ../core/libdd2m-core.a ../viz/libdd2m-viz.a
|
||||
|
||||
OSERIAL = ../serial/serial.o ../serial/funcs.o
|
||||
|
||||
@ -9,4 +9,4 @@ terminal.o: terminal.c Makefile terminal.h
|
||||
$(CC) ${CCOPT} $< -c
|
||||
|
||||
t: t.c terminal.o
|
||||
${CC} ${CCOPT} $< terminal.o ${OSERIAL} -lncurses -o $@
|
||||
${CC} ${CCOPT} $< terminal.o ${OSERIAL} ${CLIB} -lncurses -o $@
|
||||
|
@ -92,8 +92,9 @@ do {
|
||||
received = wgetch(glass);
|
||||
echo();
|
||||
|
||||
#if DEBUG_LEVEL > 1
|
||||
sprintf(ligne, " got $%X\n", received);
|
||||
#if DEBUG_LEVEL
|
||||
sprintf(ligne, " got $%X '%c'\n", received,
|
||||
isprint(received) ? received : '?');
|
||||
waddstr(glass, ligne); wrefresh(glass);
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user