diff options
author | pommicket <pommicket@gmail.com> | 2022-03-26 15:50:07 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-03-26 15:50:07 -0400 |
commit | 6617f77adbaeb0dc79c7b07f6ec3a107adb117db (patch) | |
tree | d35c0cea859ff0c3fe0bf178111a0abd59ef9ce2 /build.c | |
parent | 53ce10723f8d683dda4194fc969b4a8500b76b19 (diff) |
fixed ctrl+w behavior with find/build
Diffstat (limited to 'build.c')
-rw-r--r-- | build.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -12,6 +12,10 @@ static void build_stop(Ted *ted) { free(*cmd); } arr_clear(ted->build_queue); + if (ted->active_buffer == &ted->build_buffer) { + ted->active_buffer = NULL; + ted_reset_active_buffer(ted); + } } // call before adding anything to the build queue |