I found that sometimes the terminal size is not properly notified to
applications running inside it.  At least, it occurred on Cygwin.
The following patch fixes the problem.

--- a/src/terminal.c
+++ b/src/terminal.c
@@ -339,6 +339,7 @@ term_start(char_u *cmd, jobopt_T *opt)
        /* store the size we ended up with */
        vterm_get_size(term->tl_vterm, &term->tl_rows, &term->tl_cols);
+       term_report_winsize(term, term->tl_rows, term->tl_cols);

Ken Takata

You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui