summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/main.c b/main.c
index 58a98b0..76b17a7 100644
--- a/main.c
+++ b/main.c
@@ -1,5 +1,7 @@
// @TODO:
-// - split
+// - get ctrl+w to work properly
+// - split depth limit
+// - resize split (i.e. change split_pos)
// - Windows installation
// - on crash, output backtrace to log
@@ -437,8 +439,10 @@ int main(int argc, char **argv) {
BufferPos buffer_pos;
if (buffer_pixels_to_pos(buffer, pos, &buffer_pos)) {
// user clicked on buffer
- if (!ted->menu)
+ if (!ted->menu) {
ted->active_buffer = buffer;
+ ted->active_node = node;
+ }
if (buffer == ted->active_buffer) {
add = false;
switch (ted->key_modifier) {