0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-12 14:13:36 +00:00
termux-packages/packages/ncurses/ncurses-tinfo-lib_setup.c.patch
Fredrik Fornwall 3e4b96da31 bump(main/ncurses): 6.5.20240831
Also bump kitty and alacritty terminfo entries to latest releases.
2024-09-09 12:32:34 +02:00

26 lines
955 B
Diff

diff -u -r ../ncurses-snapshots-a480458efb0662531287f0c75116c0e91fe235cb/ncurses/tinfo/lib_setup.c ./ncurses/tinfo/lib_setup.c
--- ../ncurses-snapshots-a480458efb0662531287f0c75116c0e91fe235cb/ncurses/tinfo/lib_setup.c 2024-08-31 22:38:42.000000000 +0000
+++ ./ncurses/tinfo/lib_setup.c 2024-09-08 13:16:55.592141493 +0000
@@ -561,21 +561,6 @@
}
}
- /*
- * Finally, look for environment variables.
- *
- * Solaris lets users override either dimension with an environment
- * variable.
- */
- if ((value = _nc_getenv_num("LINES")) > 0) {
- *linep = Min(value, MAX_ENV_LINES);
- T(("screen size: environment LINES = %d", *linep));
- }
- if ((value = _nc_getenv_num("COLUMNS")) > 0) {
- *colp = Min(value, MAX_ENV_COLUMNS);
- T(("screen size: environment COLUMNS = %d", *colp));
- }
-
_nc_default_screensize(termp, linep, colp);
} else {
_nc_check_screensize(sp, termp, linep, colp);