From a1646d84127a199fdacb6c5500d96e8829ebe8c1 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Wed, 3 Mar 2021 15:09:49 -0500 Subject: :shell, bugfixes --- main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'main.c') 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; -- cgit v1.2.3