diff options
author | Russ Cox <rsc@swtch.com> | 2010-09-03 10:21:16 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2010-09-03 10:21:16 -0400 |
commit | ef5c6a6edaf3dcf2cddd46841dc0dd8fce2bf967 (patch) | |
tree | e984e781353aa989307b53056ea664185317fc60 /src/cmd/9term/term.h | |
parent | a208917e7a935c019095acd1acd8165f08a54b7a (diff) | |
download | plan9port-ef5c6a6edaf3dcf2cddd46841dc0dd8fce2bf967.tar.gz plan9port-ef5c6a6edaf3dcf2cddd46841dc0dd8fce2bf967.tar.bz2 plan9port-ef5c6a6edaf3dcf2cddd46841dc0dd8fce2bf967.zip |
9term, win: better echo cancellation
Also just drop \r from output.
It's a losing battle to keep turning it off.
R=rsc
http://codereview.appspot.com/2128042
Diffstat (limited to 'src/cmd/9term/term.h')
-rw-r--r-- | src/cmd/9term/term.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cmd/9term/term.h b/src/cmd/9term/term.h index c8d9926f..e7a1f6b2 100644 --- a/src/cmd/9term/term.h +++ b/src/cmd/9term/term.h @@ -4,7 +4,9 @@ extern void updatewinsize(int, int, int, int); extern int rcfd; extern int rcstart(int, char*[], int*, int*); extern int isecho(int); -extern int setecho(int, int); extern int noecho; extern int getintr(int); extern int loginshell; +extern void echoed(char*, int); +extern int echocancel(char*, int); +extern int dropcrnl(char*, int); |