0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-04 18:45:52 +00:00
termux-packages/packages/ncurses/ncurses-tinfo-tinfo_driver.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

27 lines
971 B
Diff

diff -u -r ../ncurses-snapshots-a480458efb0662531287f0c75116c0e91fe235cb/ncurses/tinfo/tinfo_driver.c ./ncurses/tinfo/tinfo_driver.c
--- ../ncurses-snapshots-a480458efb0662531287f0c75116c0e91fe235cb/ncurses/tinfo/tinfo_driver.c 2024-08-31 22:38:42.000000000 +0000
+++ ./ncurses/tinfo/tinfo_driver.c 2024-09-08 13:17:49.112088024 +0000
@@ -497,22 +497,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));
- }
- }
-
/* if we can't get dynamic info about the size, use static */
if (*linep <= 0) {
*linep = (int) lines;