diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-21 12:40:26 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-21 12:40:26 -0500 |
commit | 617907fb4731d67f6e7aca17b9dd7881f2093aad (patch) | |
tree | de7378592c0ccd7d37a08cab05dfb4092efcd745 /main.c | |
parent | 34fa190c3d490dd8cfec37d27bc03182f2a725a2 (diff) |
started to generalize selector code
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1,5 +1,6 @@ // @TODO: // - Ctrl+D = :find-definition --- tag menu (see all tags, select one) +// - fix automatic horizontal scrolling // - goto line @@ -8,11 +9,11 @@ // - split -// - completion - // - Windows installation +// - on crash, output backtrace to log // - restore previously opened files (setting: restore-session) -// - on crash, output backtrace to log, save buffers to temp directory + +// - completion #include "base.h" no_warn_start @@ -392,6 +393,8 @@ int main(int argc, char **argv) { memset(ted->nmouse_clicks, 0, sizeof ted->nmouse_clicks); ted->scroll_total_x = ted->scroll_total_y = 0; + ted->line_buffer_submitted = false; + ted_update_window_dimensions(ted); u32 key_modifier = (u32)ctrl_down << KEY_MODIFIER_CTRL_BIT | (u32)shift_down << KEY_MODIFIER_SHIFT_BIT |