We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba6eb57 commit 328743aCopy full SHA for 328743a
src/libterm/terminfo/searcher.rs
@@ -48,10 +48,12 @@ pub fn get_dbpath_for_term(term: &str) -> Option<PathBuf> {
48
// According to /etc/terminfo/README, after looking at
49
// ~/.terminfo, ncurses will search /etc/terminfo, then
50
// /lib/terminfo, and eventually /usr/share/terminfo.
51
+ // On Haiku the database can be found at /boot/system/data/terminfo
52
Err(..) => {
53
dirs_to_search.push(PathBuf::from("/etc/terminfo"));
54
dirs_to_search.push(PathBuf::from("/lib/terminfo"));
55
dirs_to_search.push(PathBuf::from("/usr/share/terminfo"));
56
+ dirs_to_search.push(PathBuf::from("/boot/system/data/terminfo"));
57
}
58
59
0 commit comments