touche suppr essai 2
This commit is contained in:
parent
97114192d5
commit
26e93c2f04
|
@ -360,7 +360,7 @@ void connectedCommandLine(int sockfd)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// Delete next char
|
// Delete next char
|
||||||
sendBuff[++curPosition] = 0;
|
sendBuff[curPosition] = 0;
|
||||||
curLineLength--;
|
curLineLength--;
|
||||||
|
|
||||||
if (curLineLength >= 0) {
|
if (curLineLength >= 0) {
|
||||||
|
@ -379,7 +379,10 @@ void connectedCommandLine(int sockfd)
|
||||||
);
|
);
|
||||||
|
|
||||||
printf("%s", C_RESTORE_CURSORPOS);
|
printf("%s", C_RESTORE_CURSORPOS);
|
||||||
printf("%s", C_CURSORRIGHT);
|
// printf("%s", C_CURSORRIGHT);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
printf("%s", C_CURSORRIGHT); // pas sûr que ce soit utile...
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue