Skip to content

Commit

Permalink
Add FreeBSD terminfo location (#55152)
Browse files Browse the repository at this point in the history
`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`
  • Loading branch information
Thefrank authored Jul 5, 2021
1 parent efd818b commit 7edc27c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libraries/System.Console/src/System/TermInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ private Database(string term, byte[] data)
"/etc/terminfo",
"/lib/terminfo",
"/usr/share/terminfo",
"/usr/share/misc/terminfo"
"/usr/share/misc/terminfo",
"/usr/local/share/terminfo"
};

/// <summary>Read the database for the specified terminal.</summary>
Expand Down

0 comments on commit 7edc27c

Please sign in to comment.