From 7927fe8f9efb61c7bcdfc63997a4e785c97c53ef Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 7 Mar 2008 10:41:50 -0500 Subject: acme: add nomenu, menu ctl messages --- src/cmd/acme/xfid.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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; -- cgit v1.2.3