1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-02 08:57:19 -04:00

do not enable mouse from keyboard initialization if mouse is disabled

This commit is contained in:
sgerwk 2020-06-24 17:38:50 +02:00
parent e94a912f1e
commit 0e820ad3cd

View File

@ -174,7 +174,8 @@ send_init_sequence(int h, int altscreen)
write_sequence(h, INIT_ALT_SCREEN_SEQ); write_sequence(h, INIT_ALT_SCREEN_SEQ);
} }
#ifdef CONFIG_MOUSE #ifdef CONFIG_MOUSE
send_mouse_init_sequence(h); if (! get_opt_bool("ui.mouse_disable", NULL))
return;
#endif #endif
write_sequence(h, INIT_BRACKETED_PASTE_SEQ); write_sequence(h, INIT_BRACKETED_PASTE_SEQ);
} }