2

I have to think this has been asked, but I didn't find it with a simple search. I do hear others mention this problem, so I know it's not just me. I'm using Linux Mint 20, use the terminal regularly and rely on the up and down arrow keys to access the command history. But when I open the sqlite3 console those up and down keys give me ^[[A ^[[B respectively. Is there a configuration option somewhere that will remedy that? Thanks very much in advance!

RobG
  • 143
  • 1
  • 1
  • 10

1 Answers1

1

You may use rlwrap.

Install:

sudo apt install rlwrap

Run problematic program:

rlwrap sqlite3 <your_database.db>

Long explanation: https://superuser.com/questions/561087/strange-keyboard-when-using-sqlite-shell-on-linux/

tuping
  • 11
  • 3