Re-implement the 'mode' command
This commit is contained in:
@ -352,6 +352,7 @@ operation:
|
||||
| mark
|
||||
| resize
|
||||
| nop
|
||||
| mode
|
||||
;
|
||||
|
||||
exec:
|
||||
@ -784,3 +785,10 @@ direction:
|
||||
| TOK_LEFT { $$ = TOK_LEFT; }
|
||||
| TOK_RIGHT { $$ = TOK_RIGHT; }
|
||||
;
|
||||
|
||||
mode:
|
||||
TOK_MODE STR
|
||||
{
|
||||
switch_mode($2);
|
||||
}
|
||||
;
|
||||
|
Reference in New Issue
Block a user