acme: add nomenu, menu ctl messages
This commit is contained in:
parent
fdddf6f018
commit
7927fe8f9e
1 changed files with 8 additions and 0 deletions
|
|
@ -760,6 +760,14 @@ out:
|
||||||
settag = TRUE;
|
settag = TRUE;
|
||||||
m = 4;
|
m = 4;
|
||||||
}else
|
}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 */
|
if(strncmp(p, "noscroll", 8) == 0){ /* turn off automatic scrolling */
|
||||||
w->noscroll = TRUE;
|
w->noscroll = TRUE;
|
||||||
m = 8;
|
m = 8;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue