getch() !
This commit is contained in:
parent
e5ba2b9303
commit
9566a3c74e
|
@ -90,6 +90,8 @@ void connectedCommunication(int sockfd)
|
||||||
while (( curChar= getch()) != '\n') {
|
while (( curChar= getch()) != '\n') {
|
||||||
// XXX ARROWS
|
// XXX ARROWS
|
||||||
sendBuff[i++] = curChar;
|
sendBuff[i++] = curChar;
|
||||||
|
printf("%c", curChar);
|
||||||
|
fflush(stdout);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Do not send null-string
|
// Do not send null-string
|
||||||
|
|
Loading…
Reference in New Issue