mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Add ^C = Cancel (Quit) to telnet #291
This commit is contained in:
parent
3ad815cd5d
commit
d41d22024f
@ -379,7 +379,7 @@ IRAM_ATTR void telnetLoop()
|
||||
while(int16_t key = telnetConsole->readKey()) {
|
||||
switch(key) {
|
||||
case 0xf8:
|
||||
case KEY_CTRL('C'): // ^C = Cancel (Quit)
|
||||
case KEY_CTRL('C'): // 0x03 = ^C = Cancel (Quit)
|
||||
telnetClientDisconnect();
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user