diff --git a/src/files.c b/src/files.c index 4e0f3fbf..f882f390 100644 --- a/src/files.c +++ b/src/files.c @@ -2293,6 +2293,10 @@ void do_savefile(void) { if (do_writeout(FALSE, FALSE) == 2) close_and_go(); +#ifdef USE_SLANG + /* Work around a shy cursor -- https://sv.gnu.org/bugs/?59091. */ + bottombars(MREPLACEWITH); +#endif } /* Convert the tilde notation when the given path begins with ~/ or ~user/. diff --git a/src/nano.c b/src/nano.c index 55b97d65..17ee0946 100644 --- a/src/nano.c +++ b/src/nano.c @@ -1303,6 +1303,10 @@ void unbound_key(int code) else statusline(ALERT, _("Unbound key: %c"), code); #endif +#ifdef USE_SLANG + /* Work around a shy cursor -- https://sv.gnu.org/bugs/?59091. */ + bottombars(MREPLACEWITH); +#endif } #ifdef ENABLE_MOUSE diff --git a/src/winio.c b/src/winio.c index 6e3b6228..55f707dd 100644 --- a/src/winio.c +++ b/src/winio.c @@ -3305,6 +3305,12 @@ void report_cursor_position(void) _("line %zd/%zd (%d%%), col %zu/%zu (%d%%), char %zu/%zu (%d%%)"), openfile->current->lineno, openfile->filebot->lineno, linepct, column, fullwidth, colpct, sum, openfile->totsize, charpct); + +#ifdef USE_SLANG + /* Work around a shy cursor -- https://sv.gnu.org/bugs/?59091. */ + bottombars(MREPLACEWITH); + bottombars(MMAIN); +#endif } /* Highlight the text between the given two columns on the current line. */