commit 54daf022ce989bb8ea34084f947ab85c045b690f
parent dd872cbb441a24cd32db56a5c285fe0f102d8ef6
Author: Dr. Matthew Swabey <matthew@swabey.org>
Date: Fri, 29 Sep 2023 11:57:02 -0400
docs(term): use tic -x for better compatibility with old ncurses (#25421)
Use `tic -x` instead of `tic` to include any unknown capabilities in a modern `terminfo.src` as user-defined ones, instead of dropping them. Modern ncurses behavior with `tic -x` will not change.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/runtime/doc/term.txt b/runtime/doc/term.txt
@@ -31,7 +31,7 @@ a non-superuser:
>
curl -LO https://invisible-island.net/datafiles/current/terminfo.src.gz
gunzip terminfo.src.gz
- tic terminfo.src
+ tic -x terminfo.src
<
*$TERM*
The $TERM environment variable must match the terminal you are using!