diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-16 12:33:11 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-16 12:33:11 -0500 |
commit | 824c4ff4be5a0bf55b6644fed06fcfe2248c4301 (patch) | |
tree | 0eb56394e769e23005a9f03ffea0557c2577e542 /command.c | |
parent | 4bde24cb63313f636ac72b449f54d68515efe485 (diff) |
started getting :build to work
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -297,9 +297,18 @@ void command_execute(Ted *ted, Command c, i64 argument) { menu_escape(ted); } else if (ted->find) { find_close(ted); + } else if (ted->build_shown) { + build_stop(ted); } else if (buffer) { buffer_disable_selection(buffer); } break; + + case CMD_BUILD: + if (ted->building) { + build_stop(ted); + } + build_start(ted); + break; } } |