diff --git a/src/nano.c b/src/nano.c index 1f349ca7..39117b32 100644 --- a/src/nano.c +++ b/src/nano.c @@ -1311,9 +1311,11 @@ int do_mouse(void) #ifndef NANO_TINY /* Clicking where the cursor is toggles the mark, as does clicking * beyond the line length with the cursor at the end of the line. */ - if (sameline && openfile->current_x == current_x_save) + if (sameline && openfile->current_x == current_x_save) { do_mark(); - else + if (ISSET(STATEFLAGS)) + titlebar(NULL); + } else #endif /* The cursor moved; clean the cutbuffer on the next cut. */ keep_cutbuffer = FALSE;