If I use a simple python script to check the value that is returned by the curses.getkey()
import curses
def main(stdscr):
input = stdscr.getkey()
curses.endwin()
print(input)
curses.wrapper(main)
I get different values for arrow keys on the vscode integrated terminal (cmd, not powershell) and command prompt. Command prompt gives KEY_LEFT
for the left arrow key, while vscode gives KEY_B1
. Why is this?