patching again the terminal

这个提交包含在:
phyto 2019-05-21 13:45:22 +02:00
父节点 2362957692
当前提交 8bb519fe17
共有 2 个文件被更改,包括 5 次插入4 次删除

查看文件

@ -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