# | Line 81 | Line 81 | getch() /* get a character in raw mode */ | |
---|---|---|
81 | ||
82 | ||
83 | static | |
84 | < | ttyin(buf) /* read a line in raw mode */ |
85 | < | char *buf; |
84 | > | ttyin(buf, prompt) /* read a line in raw mode */ |
85 | > | char *buf, *prompt; |
86 | { | |
87 | int getch(); | |
88 | ||
89 | + | if (prompt != NULL) |
90 | + | (*ttydev->comout)(prompt); |
91 | editline(buf, getch, ttydev->comout); | |
92 | } | |
93 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |