mirror of
https://github.com/neovim/neovim.git
synced 2025-09-13 23:08:16 +00:00
options,tui: don't hardcode default terminal size
also, include some checks.
This commit is contained in:

committed by
Justin M. Keyes

parent
5732340c20
commit
a95a5ba839
@@ -537,7 +537,7 @@ static vimoption_T
|
||||
{(char_u *)"", (char_u *)0L} SCRIPTID_INIT},
|
||||
{"columns", "co", P_NUM|P_NODEFAULT|P_NO_MKRC|P_VI_DEF|P_RCLR,
|
||||
(char_u *)&Columns, PV_NONE,
|
||||
{(char_u *)80L, (char_u *)0L} SCRIPTID_INIT},
|
||||
{(char_u *)DFLT_COLS, (char_u *)0L} SCRIPTID_INIT},
|
||||
{"comments", "com", P_STRING|P_ALLOCED|P_VI_DEF|P_COMMA|P_NODUP|
|
||||
P_CURSWANT,
|
||||
(char_u *)&p_com, PV_COM,
|
||||
@@ -1025,7 +1025,7 @@ static vimoption_T
|
||||
{"lines", NULL, P_NUM|P_NODEFAULT|P_NO_MKRC|P_VI_DEF|P_RCLR,
|
||||
(char_u *)&Rows, PV_NONE,
|
||||
{
|
||||
(char_u *)24L,
|
||||
(char_u *)DFLT_ROWS,
|
||||
(char_u *)0L
|
||||
} SCRIPTID_INIT},
|
||||
{"linespace", "lsp", P_NUM|P_VI_DEF|P_RCLR,
|
||||
|
Reference in New Issue
Block a user