mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-01 16:40:33 +00:00
26 lines
809 B
Diff
26 lines
809 B
Diff
diff -u -r ../orig-src/ncurses/tinfo/lib_setup.c ./ncurses/tinfo/lib_setup.c
|
|
--- ../orig-src/ncurses/tinfo/lib_setup.c 2023-10-02 11:56:17.150192340 +0000
|
|
+++ ./ncurses/tinfo/lib_setup.c 2023-10-02 11:56:49.157968195 +0000
|
|
@@ -513,21 +513,6 @@
|
|
}
|
|
}
|
|
|
|
- /*
|
|
- * Finally, look for environment variables.
|
|
- *
|
|
- * Solaris lets users override either dimension with an environment
|
|
- * variable.
|
|
- */
|
|
- if ((value = _nc_getenv_num("LINES")) > 0) {
|
|
- *linep = value;
|
|
- T(("screen size: environment LINES = %d", *linep));
|
|
- }
|
|
- if ((value = _nc_getenv_num("COLUMNS")) > 0) {
|
|
- *colp = value;
|
|
- T(("screen size: environment COLUMNS = %d", *colp));
|
|
- }
|
|
-
|
|
_nc_default_screensize(termp, linep, colp);
|
|
} else {
|
|
_nc_check_screensize(termp, linep, colp);
|