diff --git a/src/nano.c b/src/nano.c index c9e710325fb98a3717ca68dd37ef8e0bd650edde..0ae56413ed0deaf3e5963e4382398442b96145a0 100644 --- a/src/nano.c +++ b/src/nano.c @@ -2430,6 +2430,10 @@ int main(int argc, char **argv) #endif } + /* When getting untranslated escape sequences, the mouse cannot be used. */ + if (ISSET(RAW_SEQUENCES)) + UNSET(USE_MOUSE); + #ifdef ENABLE_HISTORIES /* Initialize the pointers for the Search/Replace/Execute histories. */ history_init();