From c5a5ad6efcb736b7365dc48920fe017c03c24973 Mon Sep 17 00:00:00 2001 From: Allen Webster Date: Tue, 20 Nov 2018 23:55:37 -0800 Subject: [PATCH] Update 4coder_experiments.cpp to use new EventOn* flags --- 4coder_experiments.cpp | 3 +-- meta/4ed_build.cpp | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/4coder_experiments.cpp b/4coder_experiments.cpp index ff4af515..43f99c68 100644 --- a/4coder_experiments.cpp +++ b/4coder_experiments.cpp @@ -134,7 +134,7 @@ CUSTOM_DOC("Begin multi-line mode. In multi-line mode characters are inserted a int32_t line_count = rect.line1 - rect.line0 + 1; for (;;){ - User_Input in = get_user_input(app, EventOnAnyKey, EventOnEsc | EventOnButton); + User_Input in = get_user_input(app, EventOnAnyKey, EventOnEsc|EventOnMouseLeftButton|EventOnMouseRightButton); if (in.abort) break; if (in.key.character && key_is_unmodified(&in.key)){ @@ -315,7 +315,6 @@ multi_paste_interactive_up_down(Application_Links *app, int32_t paste_count, int for (;;){ in = get_user_input(app, EventOnAnyKey, EventOnEsc); if (in.abort) break; - Assert(in.type == UserInputKey); bool32 did_modify = false; if (in.key.keycode == key_up){ diff --git a/meta/4ed_build.cpp b/meta/4ed_build.cpp index 28fa373d..75eda0d9 100644 --- a/meta/4ed_build.cpp +++ b/meta/4ed_build.cpp @@ -589,8 +589,8 @@ internal void standard_build(char *cdir, u32 flags, u32 arch){ fsm_generator(cdir); metagen(cdir); - do_buildsuper(cdir, fm_str(custom_files[Custom_Default]), arch); - //do_buildsuper(cdir, fm_str(custom_files[Custom_Experiments]), arch); + //do_buildsuper(cdir, fm_str(custom_files[Custom_Default]), arch); + do_buildsuper(cdir, fm_str(custom_files[Custom_Experiments]), arch); //do_buildsuper(cdir, fm_str(custom_files[Custom_Casey]), arch); //do_buildsuper(cdir, fm_str(custom_files[Custom_ChronalVim]), arch); build_main(cdir, true, flags, arch);