thadunge2 / AIDungeon

Other
51 stars 32 forks source link

Import readline, so arrow keys etc. will correctly behave in Linux #69

Closed MikkoMMM closed 4 years ago

MikkoMMM commented 4 years ago

Without this it seems that at least the arrow keys and home and end keys produce escape sequences when pressed in Linux during prompts, instead of moving the cursor around.

MikkoMMM commented 4 years ago

See the discussion at https://github.com/cloveranon/Clover-Edition/pull/38 for the reason behind the modification to this pull request.