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.
This commit is contained in:
Dr. Matthew Swabey 2023-09-29 11:57:02 -04:00 committed by GitHub
parent dd872cbb44
commit 54daf022ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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!