+echo() +noecho()
This commit is contained in:
@@ -88,7 +88,9 @@ do {
|
||||
|
||||
/*** est-ce le yuser avec son clavier ? */
|
||||
if (FD_ISSET(fd_local, &rfds)) {
|
||||
received = getch();
|
||||
noecho();
|
||||
received = wgetch(glass);
|
||||
echo();
|
||||
|
||||
#if DEBUG_LEVEL > 1
|
||||
sprintf(ligne, " got $%X\n", received);
|
||||
@@ -123,9 +125,8 @@ int foo;
|
||||
// unsigned char byte;
|
||||
int fd_stdin;
|
||||
|
||||
lin_term = col_term = 4; /* position */
|
||||
wid_term = 60;
|
||||
hei_term = 25;
|
||||
lin_term = 4; col_term = 9; /* position */
|
||||
wid_term = 60; hei_term = 25; /* dimensions */
|
||||
|
||||
fd_stdin = fileno(stdin); /* for select or pool */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user