SQLite

View Ticket
Login
Ticket Hash: 1c67bd6ce9d7fd366fdc92123af91da0750256b7
Title: Shell Control-C (break) handling could be better
Status: Closed Type: Feature_Request
Severity: Minor Priority: Immediate
Subsystem: Shell Resolution: Rejected
Last Modified: 2014-03-11 13:02:13
Version Found In: 3.6.18
Description:
If you press ctrl-C while entering SQL, the shell does interrupt the database under the hood (good) but still leaves you entering SQL. It should abort the entry of the SQL and return to the primary prompt:
sqlite> select
   ...> ^C^C^C^C^C
   ...> stop this ^C^C^C^C^C^C

What I would expect:

sqlite> select
    ..> ^C
sqlite> 

Attachments: