summaryrefslogtreecommitdiff
path: root/command.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-04-04 19:36:57 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2021-04-04 19:36:57 -0400
commit2007d299916be6b079e6b97aea7c4d2835e23bd0 (patch)
treee8c1fc1000f1822e49e7b724da373fe31166f88e /command.c
parent36444b69593008f40ee2d0b47c894e37428435ae (diff)
command to reload all buffers, run make on multiple threads
Diffstat (limited to 'command.c')
-rw-r--r--command.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/command.c b/command.c
index 402686c..29c76a8 100644
--- a/command.c
+++ b/command.c
@@ -191,6 +191,9 @@ void command_execute(Ted *ted, Command c, i64 argument) {
case CMD_SAVE_ALL:
ted_save_all(ted);
break;
+ case CMD_RELOAD_ALL:
+ ted_reload_all(ted);
+ break;
case CMD_QUIT:
// pass argument of 2 to override dialog
if (argument == 2) {