acme: add nomenu, menu ctl messages

This commit is contained in:
Russ Cox 2008-03-07 10:41:50 -05:00
parent fdddf6f018
commit 7927fe8f9e

View file

@ -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;