window: support extended urxvt mouse support if applicable
This commit is contained in:
@@ -109,7 +109,7 @@ int main(int argc, char **argv)
|
||||
sigignore(SIGINT);
|
||||
# endif // !WIN32
|
||||
|
||||
NC::initScreen(Config.colors_enabled);
|
||||
NC::initScreen(Config.colors_enabled, Config.mouse_support);
|
||||
|
||||
Actions::OriginalStatusbarVisibility = Config.statusbar_visibility;
|
||||
|
||||
@@ -152,13 +152,6 @@ int main(int argc, char **argv)
|
||||
auto connect_attempt = boost::posix_time::from_time_t(0);
|
||||
auto past = boost::posix_time::from_time_t(0);
|
||||
|
||||
// enable mouse
|
||||
# if NCURSES_SEQUENCE_ESCAPING
|
||||
mouseinterval(0);
|
||||
# endif // NCURSES_SEQUENCE_ESCAPING
|
||||
if (Config.mouse_support)
|
||||
mousemask(ALL_MOUSE_EVENTS, nullptr);
|
||||
|
||||
while (!Actions::ExitMainLoop)
|
||||
{
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user