Add support for closing windows

This commit is contained in:
project-repo 2020-08-25 15:15:31 +02:00
commit 73e8db1fa3
6 changed files with 29 additions and 0 deletions

View file

@ -14,6 +14,7 @@ struct cg_server;
* in keybinding.c */
enum keybinding_action {
KEYBINDING_RUN_COMMAND, // data.c is the string to execute
KEYBINDING_CLOSE_VIEW,
KEYBINDING_SPLIT_VERTICAL,
KEYBINDING_SPLIT_HORIZONTAL,
KEYBINDING_CHANGE_TTY, // data.u is the desired tty