PS C:\Users\jayes> ptg -g PyTermGUI - Getch ┌────────────────────────────────────────────────┐ │ │ │ key keys.UP │ │ value: '\x1bH' │ │ len() 2 │ │ real_length() -1 │ └────────────────────────────────────────────────┘ PS C:\Users\jayes> ptg -g PyTermGUI - Getch ┌────────────────────────────────────────────────┐ │ Your output │ │ │ │ key keys.DOWN │ │ value: '\x1bP' │ │ len() 2 │ │ real_length() -1 │ └────────────────────────────────────────────────┘ PS C:\Users\jayes> ptg -g PyTermGUI - Getch ┌────────────────────────────────────────────────┐ │ Your output │ │ │ │ key keys.LEFT │ │ value: '\x1bK' │ │ len() 2 │ │ real_length() -1 │ └────────────────────────────────────────────────┘ PS C:\Users\jayes> ptg -g PyTermGUI - Getch ┌────────────────────────────────────────────────┐ │ Your output │ │ │ │ key keys.RIGHT │ │ value: '\x1bM' │ │ len() 2 │ │ real_length() -1 │ └────────────────────────────────────────────────┘ PS C:\Users\jayes>