projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new io scheme
[unix-history]
/
usr
/
src
/
usr.bin
/
window
/
win.c
diff --git
a/usr/src/usr.bin/window/win.c
b/usr/src/usr.bin/window/win.c
index
ffef6d4
..
45b9703
100644
(file)
--- a/
usr/src/usr.bin/window/win.c
+++ b/
usr/src/usr.bin/window/win.c
@@
-1,5
+1,5
@@
#ifndef lint
#ifndef lint
-static char *sccsid = "@(#)win.c 3.
1 84/01/13
";
+static char *sccsid = "@(#)win.c 3.
2 84/01/16
";
#endif
#include "defs.h"
#endif
#include "defs.h"
@@
-138,7
+138,7
@@
char *prompt;
(void) wwprintf(w, "\033Y%c%c\033p%s\033q ",
w->ww_w.nr - 1 + ' ', ' ', prompt); /* print on last line */
wwcurtowin(w);
(void) wwprintf(w, "\033Y%c%c\033p%s\033q ",
w->ww_w.nr - 1 + ' ', ' ', prompt); /* print on last line */
wwcurtowin(w);
- while (
b
peekc() < 0)
-
bread
();
- return
b
getc();
+ while (
ww
peekc() < 0)
+
wwiomux
();
+ return
ww
getc();
}
}