diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2002-09-10 18:00:34 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2002-09-10 18:00:34 +0000 |
commit | 26482336f2919d72935a8aacc42420aa89138cbd (patch) | |
tree | 3a45513574e18b5920fc7250e95840b0f9bd9d2d /term/munge.c | |
parent | f7aba072f48ed17386ae9369551a49aca4cf73aa (diff) | |
download | hurd-26482336f2919d72935a8aacc42420aa89138cbd.tar.gz hurd-26482336f2919d72935a8aacc42420aa89138cbd.tar.bz2 hurd-26482336f2919d72935a8aacc42420aa89138cbd.zip |
2002-09-10 Marcus Brinkmann <marcus@gnu.org>
* munge.c (input_character): Really toggle USER_OUTPUT_SUSP if
VSTART == VSTOP.
Diffstat (limited to 'term/munge.c')
-rw-r--r-- | term/munge.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/term/munge.c b/term/munge.c index 32d87c98..74d82888 100644 --- a/term/munge.c +++ b/term/munge.c @@ -452,13 +452,13 @@ input_character (int c) { if (CCEQ (cc[VSTOP], c)) { - termflags |= USER_OUTPUT_SUSP; - (*bottom->suspend_physical_output) (); - - if (!(CCEQ(cc[VSTART], c))) /* toggle if VSTART == VSTOP */ - /* Alldone code always turns off USER_OUTPUT_SUSP. */ + if (CCEQ(cc[VSTART], c) && (termflags & USER_OUTPUT_SUSP)) + /* Toggle if VSTART == VSTOP. Alldone code always turns + off USER_OUTPUT_SUSP. */ goto alldone; + termflags |= USER_OUTPUT_SUSP; + (*bottom->suspend_physical_output) (); return flush; } if (CCEQ (cc[VSTART], c)) |