Update 4coder_experiments.cpp to use new EventOn* flags

master
Allen Webster 2018-11-20 23:55:37 -08:00
parent aa1cbf9a0f
commit c5a5ad6efc
2 changed files with 3 additions and 4 deletions

View File

@ -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){

View File

@ -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);