diff --git a/src/files.c b/src/files.c index e30c47fb..595c63c5 100644 --- a/src/files.c +++ b/src/files.c @@ -1282,6 +1282,10 @@ void do_insertfile(void) * of lines inserted. */ reset_cursor(); +#ifndef NANO_TINY + if (ISSET(SOFTWRAP)) + ensure_line_is_visible(); +#endif refresh_needed = TRUE; }