diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2020-01-29 20:56:31 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2020-01-29 20:56:31 +0000 |
| commit | f5c072fb4c8b29101a1ee71aaae87ee8ef3514f1 (patch) | |
| tree | 1c17d801d5227107e1e194206beb38be17f5b70b /usr.bin/tip | |
| parent | 7bf1ff65fc9927b432ab4af9b1de70208ed5244b (diff) | |
Notes
Diffstat (limited to 'usr.bin/tip')
| -rw-r--r-- | usr.bin/tip/tip/tip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tip/tip/tip.c b/usr.bin/tip/tip/tip.c index d88ef330d214..94b3033770be 100644 --- a/usr.bin/tip/tip/tip.c +++ b/usr.bin/tip/tip/tip.c @@ -423,11 +423,12 @@ tipin(void) if (boolean(value(HALFDUPLEX))) printf("\r\n"); continue; - } else if (!cumode && gch == character(value(FORCE))) + } else if (!cumode && gch == character(value(FORCE))) { gch = getchar(); if (gch == EOF) return; gch = gch & STRIP_PAR; + } bol = any(gch, value(EOL)); if (boolean(value(RAISE)) && islower(gch)) gch = toupper(gch); |
