I have this issue with my IF interpreter. Not critical, but mildly annoying and almost every tester mentions it.
The interpreter is written in C and I compile it for Windows, Linux and macOS. It runs in a CMD (Windows) or terminal (Linux and macOS) window.
The issue is with the up arrow key. When you are at the OS command line level in a CMD or terminal, up arrow scrolls through the command buffer.
Now, when the interpreter is running I see the following behavior:
Windows CMD: the up arrow key gives the previous game commands, just like I want it to.
macOS and Linux terminal: the up arrow key produces ^[[ gibberish on the command line.
What I think is that the up arrow key code is directly fed into the interpreter without the terminal kicking in to catch it.
Is there a way that I can change this behavior so up arrow will scroll through the command buffer?
(I did search for this but I can only find issues at the OS level itself, not with applications that use command lines).