commit | 09cbd0c695cdd953834a46d161f6d3b0bf385c1c | [log] [download] |
---|---|---|
author | Nicholas Marriott <nicm@openbsd.org> | Thu Aug 13 23:44:18 2009 +0000 |
committer | Nicholas Marriott <nicm@openbsd.org> | Thu Aug 13 23:44:18 2009 +0000 |
tree | 547649ceb2c777efe0cb20b2f2cae7ae0d7e1108 | |
parent | 7a359c00aca2e35dc26c2239f4261f0fa53f0caf [diff] |
Switch the prompt code to return an empty string when the user enters no response and reserve NULL for an explicit cancel. Change all callbacks to treat them the same so no functional change. Also add cancel key bindings to emacs mode which were missing.