diff options
| author | Tim Vanderhoek <hoek@FreeBSD.org> | 2000-05-12 03:53:38 +0000 |
|---|---|---|
| committer | Tim Vanderhoek <hoek@FreeBSD.org> | 2000-05-12 03:53:38 +0000 |
| commit | 7914f697065ec5d0f2ba90ceab0546177150773c (patch) | |
| tree | 21fdfba9c76d10332586118a57becf104001ffe2 /usr.bin/more | |
| parent | 691009407a27b073ba458b48c94820dfb738bcf9 (diff) | |
Notes
Diffstat (limited to 'usr.bin/more')
| -rw-r--r-- | usr.bin/more/command.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/usr.bin/more/command.c b/usr.bin/more/command.c index 646ffe6e264e..cf784fe562a9 100644 --- a/usr.bin/more/command.c +++ b/usr.bin/more/command.c @@ -394,6 +394,16 @@ prompt() } so_exit(); } + + /* + * XXX This isn't correct, but until we get around to reworking + * the whole prompt stuff the way we want it to be, this hack + * is necessary to prevent input from being blocked if getinput() + * is called and the user enters an input that fills the cmd + * buffer (or reaches the far rightside end of the screen). + */ + cmd_col = 0; + return 1; } |
