diff options
author | Russ Cox <rsc@swtch.com> | 2008-03-07 10:41:50 -0500 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2008-03-07 10:41:50 -0500 |
commit | 7927fe8f9efb61c7bcdfc63997a4e785c97c53ef (patch) | |
tree | 5532d79aa575b079a15e737fb840f9afc2dc8a01 /src/cmd | |
parent | fdddf6f01849a37d70b15581cd3e9713476b40ec (diff) | |
download | plan9port-7927fe8f9efb61c7bcdfc63997a4e785c97c53ef.tar.gz plan9port-7927fe8f9efb61c7bcdfc63997a4e785c97c53ef.tar.bz2 plan9port-7927fe8f9efb61c7bcdfc63997a4e785c97c53ef.zip |
acme: add nomenu, menu ctl messages
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/acme/xfid.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cmd/acme/xfid.c b/src/cmd/acme/xfid.c index 65ae2d99..db5d54b0 100644 --- a/src/cmd/acme/xfid.c +++ b/src/cmd/acme/xfid.c @@ -760,6 +760,14 @@ out: settag = TRUE; m = 4; }else + if(strncmp(p, "nomenu", 6) == 0){ /* turn off automatic menu */ + w->filemenu = FALSE; + m = 6; + }else + if(strncmp(p, "menu", 4) == 0){ /* enable automatic menu */ + w->filemenu = TRUE; + m = 4; + }else if(strncmp(p, "noscroll", 8) == 0){ /* turn off automatic scrolling */ w->noscroll = TRUE; m = 8; |