summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
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;