I have a npm-run-all command in my project that I use to start up the frontend and the backend (dotnet run) at the same time. However, after ctrl-c and exiting the command it leaves it in a bad state. Pressing the up arrow key ends up printing out ^[[A and the down arrow gives me ^[[B .` I used to close the terminal and start again to fix this, but today I learned you can run the following to reset the terminal and get the keys working again: stty sane
No comments yet. Log in to reply on the Fediverse. Comments will appear here.