mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
Merge pull request #51 from sgerwk/master
do not enable mouse from keyboard initialization if mouse is disabled
This commit is contained in:
commit
9df1456045
@ -174,6 +174,7 @@ 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
|
||||||
|
if (! get_opt_bool("ui.mouse_disable", NULL))
|
||||||
send_mouse_init_sequence(h);
|
send_mouse_init_sequence(h);
|
||||||
#endif
|
#endif
|
||||||
write_sequence(h, INIT_BRACKETED_PASTE_SEQ);
|
write_sequence(h, INIT_BRACKETED_PASTE_SEQ);
|
||||||
|
Loading…
Reference in New Issue
Block a user