From 533159b87b3532bb1112714e63131df6cabb23a6 Mon Sep 17 00:00:00 2001 From: y4my4my4m <8145020+y4my4my4m@users.noreply.github.com> Date: Thu, 11 May 2023 23:09:36 +0900 Subject: [PATCH] tab key --- src/Home/Telnet/Telnet.ZC | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/Home/Telnet/Telnet.ZC b/src/Home/Telnet/Telnet.ZC index 8894b708..ff3d3910 100755 --- a/src/Home/Telnet/Telnet.ZC +++ b/src/Home/Telnet/Telnet.ZC @@ -137,14 +137,19 @@ U0 InputTask(U0 *args) { // SysLog("Pressed Cursor Down"); TCPSocketSendString(sock, "\x1B[B"); break; - case SC_TAB: - TCPSocketSend(sock, 0x09, 1); - break; default: break; } break; - + case 9: + switch (sc.u8[0]) + { + case SC_TAB: + TCPSocketSendString(sock, "\x09"); + break; + default: + break; + } case CH_BACKSPACE: // TCPSocketSendString(sock, "\x7F\x1B[D"); // TCPSocketSendString(sock, "\x7F");