do not use ncurses terminal sequence escaping by default

This commit is contained in:
Andrzej Rybczak
2015-05-07 23:17:25 +02:00
parent 6384c4bfd6
commit 1348271098
7 changed files with 306 additions and 58 deletions

View File

@@ -152,10 +152,12 @@ 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
// enable mouse
# if NCURSES_SEQUENCE_ESCAPING
mouseinterval(0);
# endif // NCURSES_SEQUENCE_ESCAPING
if (Config.mouse_support)
mousemask(ALL_MOUSE_EVENTS, 0);
mousemask(ALL_MOUSE_EVENTS, nullptr);
while (!Actions::ExitMainLoop)
{