Browse Source

another bug killed ?

phyto 6 months ago
parent
commit
913da05ee0
1 changed files with 8 additions and 6 deletions
  1. 8
    6
      ui/terminal.c

+ 8
- 6
ui/terminal.c View File

@@ -82,17 +82,19 @@ do	{
82 82
 			special_dumper(stderr, received);
83 83
 			fflush(stderr);
84 84
 			}
85
-		waddch(glass, received);
86
-		if ('\n' == received) waddch(glass, '\r');
85
+
86
+		if ('\r' != received) waddch(glass, received);
87
+
88
+		// if ('\n' == received) waddch(glass, '\r');
87 89
 		}
88 90
 
89 91
 	/*** est-ce le yuser avec son clavier ? */
90 92
 	if (FD_ISSET(fd_local, &rfds)) {
91 93
 		received = getch();
92
-		if (verbosity) {
93
-			sprintf(ligne, " $%02x from yuser\n", received);
94
-			waddstr(glass, ligne);
95
-			}
94
+		//XXX if (verbosity) {
95
+		//XXX	sprintf(ligne, " $%02x from yuser\n", received);
96
+		//XXX	waddstr(glass, ligne);
97
+		//XXX	}
96 98
 		putbyte(fd_remote, received);		
97 99
 		}
98 100
 

Loading…
Cancel
Save