ewaters / altsql-shell

An easily extensible DBI shell, perfect for a drop-in replacement to mysql-client
http://ewaters.github.com/altsql-shell
123 stars 19 forks source link

Ctrl+C from paged results quits AltSQL #34

Open supervacuo opened 12 years ago

supervacuo commented 12 years ago

Although the shell correctly intercepts ^C whilst editing an SQL command line, Ctrl+C exits both the pager and AltSQL itself when viewing a query result with enough rows that the pager is being used.

Presumably, either ^C should drop back to the AltSQL command line, or it should be a complete NOP (as in VIM).

ewaters commented 12 years ago

Yeah, this is annoying. I'll try and fix this soon. I keep running into it myself.

openstrike commented 9 years ago

Has this issue been fixed? I've not been able to reproduce the described behaviour - for me ^C in the pager is a NOOP.