Skip to content

Commit 7edc27c

Browse files
authored
Add FreeBSD terminfo location (#55152)
`ncurses` port under FreeBSD no longer uses a hashed database but instead uses the more common "directory tree" style. This fixes like 1 failing runtime test for `System.Console`
1 parent efd818b commit 7edc27c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libraries/System.Console/src/System/TermInfo.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,8 @@ private Database(string term, byte[] data)
178178
"/etc/terminfo",
179179
"/lib/terminfo",
180180
"/usr/share/terminfo",
181-
"/usr/share/misc/terminfo"
181+
"/usr/share/misc/terminfo",
182+
"/usr/local/share/terminfo"
182183
};
183184

184185
/// <summary>Read the database for the specified terminal.</summary>

0 commit comments

Comments
 (0)