another bug killed ?

This commit is contained in:
phyto 2019-05-20 14:52:26 +02:00
parent 54a41cfeb3
commit 913da05ee0

View File

@ -82,17 +82,19 @@ do {
special_dumper(stderr, received);
fflush(stderr);
}
waddch(glass, received);
if ('\n' == received) waddch(glass, '\r');
if ('\r' != received) waddch(glass, received);
// if ('\n' == received) waddch(glass, '\r');
}
/*** est-ce le yuser avec son clavier ? */
if (FD_ISSET(fd_local, &rfds)) {
received = getch();
if (verbosity) {
sprintf(ligne, " $%02x from yuser\n", received);
waddstr(glass, ligne);
}
//XXX if (verbosity) {
//XXX sprintf(ligne, " $%02x from yuser\n", received);
//XXX waddstr(glass, ligne);
//XXX }
putbyte(fd_remote, received);
}