diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-09-20 21:36:48 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-09-20 21:36:48 -0700 |
commit | 7c3fd4898b04c0e7be5e67f781dd123bc1f61237 (patch) | |
tree | 4491fe30aadb3d65f5ebc98877ebba9dc2a67624 /linenoise/LICENSE | |
parent | 0eed0b1cbcf301c594020fb4bbe9a39c3f94a8a6 (diff) | |
download | txr-7c3fd4898b04c0e7be5e67f781dd123bc1f61237.tar.gz txr-7c3fd4898b04c0e7be5e67f781dd123bc1f61237.tar.bz2 txr-7c3fd4898b04c0e7be5e67f781dd123bc1f61237.zip |
linenoise: single return out of edit.
* linenoise/linenoise.c (edit): Changing most returns
to goto out. We have common clean-up to do, namely
removing the last history item which represents the
current line. This fixes a bug: not removing the
history line in the Ctrl-C case.
Diffstat (limited to 'linenoise/LICENSE')
0 files changed, 0 insertions, 0 deletions