Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: always search ~/.terminfo for terminfo files #122

Merged
merged 1 commit into from
Dec 14, 2024

Conversation

Stebalien
Copy link
Owner

Per the manual:

  1. Search TERMINFO.
  2. Search ~/.terminfo.
  3. Search TERMINFO_DIRS.
  4. Search /usr/share/terminfo and friends.

Technically we're allowed to omit the search in ~/.terminfo entirely, but this would introduce surprising results and we should just do what ncurses does.

fixes #121

Per the manual:

1. Search TERMINFO.
2. Search ~/.terminfo.
3. Search TERMINFO_DIRS.
4. Search /usr/share/terminfo and friends.

Technically we're allowed to omit the search in ~/.terminfo entirely,
but this would introduce surprising results and we should just do what
ncurses does.

fixes #121
@Stebalien Stebalien merged commit 88eedc9 into master Dec 14, 2024
12 checks passed
@Stebalien Stebalien deleted the steb/fix-terminfo-path branch December 14, 2024 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

get_dbpath_for_term handles ~/.terminfo incorrectly
1 participant