comparison src/option.c @ 13700:b28d679b1843 v8.0.1722

patch 8.0.1722: cannot specify a minimal size for a terminal window commit https://github.com/vim/vim/commit/498c2562e1bcc72492fe8da8a76504f893e9b5fe Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 15 23:45:15 2018 +0200 patch 8.0.1722: cannot specify a minimal size for a terminal window Problem: Cannot specify a minimal size for a terminal window. Solution: Support the "rows*cols" format for 'winsize'.
author Christian Brabandt <cb@256bit.org>
date Mon, 16 Apr 2018 00:00:07 +0200
parents c32e9628dc30
children a34b1323286c
comparison
equal deleted inserted replaced
13699:6b162e33d63a 13700:b28d679b1843
7462 else if (varp == &curwin->w_p_tms) 7462 else if (varp == &curwin->w_p_tms)
7463 { 7463 {
7464 if (*curwin->w_p_tms != NUL) 7464 if (*curwin->w_p_tms != NUL)
7465 { 7465 {
7466 p = skipdigits(curwin->w_p_tms); 7466 p = skipdigits(curwin->w_p_tms);
7467 if (p == curwin->w_p_tms || *p != 'x' || *skipdigits(p + 1) != NUL) 7467 if (p == curwin->w_p_tms
7468 || (*p != 'x' && *p != '*')
7469 || *skipdigits(p + 1) != NUL)
7468 errmsg = e_invarg; 7470 errmsg = e_invarg;
7469 } 7471 }
7470 } 7472 }
7471 #endif 7473 #endif
7472 7474