summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-03-03 15:09:49 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-03-03 15:09:49 -0500
commita1646d84127a199fdacb6c5500d96e8829ebe8c1 (patch)
treeeb7d59e50813108105a5bc4539191a3b008a320d /main.c
parentd5488ef5c47878e04045a91d204cf1ccbdd9cd05 (diff)
:shell, bugfixes
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/main.c b/main.c
index a829736..6a9e46a 100644
--- a/main.c
+++ b/main.c
@@ -1,5 +1,4 @@
// @TODO:
-// - run shell command (i.e. not just `make`)
// - completion
// - more instructions (basic stuff + how to open config)
@@ -73,8 +72,8 @@ bool tag_goto(Ted *ted, char const *tag);
#include "find.c"
#include "node.c"
#include "tags.c"
-#include "menu.c"
#include "build.c"
+#include "menu.c"
#include "command.c"
#include "config.c"
#include "session.c"
@@ -644,6 +643,9 @@ int main(int argc, char **argv) {
}
}
}
+ if (ted->build_shown)
+ if (buffer_handle_click(ted, &ted->build_buffer, pos, times)) // handle build buffer clicks
+ add = false;
}
if (add) {
ted->mouse_clicks[button][ted->nmouse_clicks[button]] = pos;