diff options
Diffstat (limited to 'src/LYMainLoop.c')
-rw-r--r-- | src/LYMainLoop.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/LYMainLoop.c b/src/LYMainLoop.c index 16d80296..68bbd908 100644 --- a/src/LYMainLoop.c +++ b/src/LYMainLoop.c @@ -5233,6 +5233,9 @@ PRIVATE BOOLEAN handle_LYK_LINEWRAP_TOGGLE ARGS2( }; int c; + if (LYwin == stdscr) + return FALSE; + /* Somehow the mouse is over the number instead of being over the name, so we decrease x. */ c = LYChoosePopup(!LYwideLines, LYlines /2 - 2, LYcols/2-6, |