Terminal reader: Interruptable command line interface 20130417010503/pspp
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 14 Apr 2013 11:36:42 +0000 (13:36 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Tue, 16 Apr 2013 20:10:43 +0000 (22:10 +0200)
commitefda60508bde511b99b1bc4a5fed3ea06e5956ff
treeb7f553673c27bcd940e7a07d6a49ea7329f95368
parent5cfc7232a7cf2b6b5e81bb5d7716538d4c06e5a3
Terminal reader: Interruptable command line interface

This change alters the behaviour of the command line interface such that
upon receiving SIGINT, instead of immediately aborting, the current command
being read will be interrupted and a new PSPP> prompt appears.

Reviewed-by: Ben Pfaff
src/ui/terminal/terminal-reader.c