]> git.pond.sub.org Git - empserver/commit
Fix client's command abort at beginning of first input line
authorMarkus Armbruster <armbru@pond.sub.org>
Thu, 26 Jan 2012 19:46:42 +0000 (20:46 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Mon, 20 Feb 2012 06:34:35 +0000 (07:34 +0100)
commit834261845060ff5855e679fd9e14d330180c8f54
treef9cbc87fee0783c68d4ab5b9fd846f2788612c1b
parenta89af8c64d6153f21a98fe4942b75cca952f63fb
Fix client's command abort at beginning of first input line

Commit 3cceb59b (v4.3.26) fixed the client to abort commands reliably
on ^C, even when it arrives at the beginning of an input line.  Except
it didn't work at the beginning of the first input line, because
input_eol was initialized to zero.

Easily fixed, but "end of line" isn't quite right there.  Revert sense
and rename to partial_line_sent.
src/client/play.c