This commit is contained in:
y4my4my4m 2023-05-11 23:09:36 +09:00
parent 9d08a8f0f3
commit 533159b87b

View file

@ -137,14 +137,19 @@ U0 InputTask(U0 *args) {
// SysLog("Pressed Cursor Down"); // SysLog("Pressed Cursor Down");
TCPSocketSendString(sock, "\x1B[B"); TCPSocketSendString(sock, "\x1B[B");
break; break;
case SC_TAB:
TCPSocketSend(sock, 0x09, 1);
break;
default: default:
break; break;
} }
break; break;
case 9:
switch (sc.u8[0])
{
case SC_TAB:
TCPSocketSendString(sock, "\x09");
break;
default:
break;
}
case CH_BACKSPACE: case CH_BACKSPACE:
// TCPSocketSendString(sock, "\x7F\x1B[D"); // TCPSocketSendString(sock, "\x7F\x1B[D");
// TCPSocketSendString(sock, "\x7F"); // TCPSocketSendString(sock, "\x7F");