groupon/tdsql — pull request #14 by andrewgho (2014-05-20 00:27:31+00:00)
Title: SIGINT (Ctrl+C) during edit should cancel current entry.

In general, tdsql treats SIGINT (Ctrl+C) poorly. During text entry, SIGINT should cancel the current line and return you to a fresh tdsql prompt; during query execution, SIGINT should interrupt the current query (and make sure the server stops running it), and again return you to a fresh tdsql prompt. This diff implements the former.