861 case 'N' - 'A' + 1: // ^N |
861 case 'N' - 'A' + 1: // ^N |
862 if (CurrentInputState == INPUTSTATE_NORMAL) |
862 if (CurrentInputState == INPUTSTATE_NORMAL) |
863 safe_disconnect ([&]() {set_input_state (INPUTSTATE_ADDRESS);}); |
863 safe_disconnect ([&]() {set_input_state (INPUTSTATE_ADDRESS);}); |
864 break; |
864 break; |
865 |
865 |
866 case '\e': // Escape |
866 case '\x1b': // Escape |
867 // We may have an alt key coming |
867 // We may have an alt key coming |
868 ch = ::getch(); |
868 ch = ::getch(); |
869 |
869 |
870 if (ch != ERR) |
870 if (ch != ERR) |
871 { |
871 { |