控制台构造函数异常,终端信息文件大于 4kb(如 xterm)
作者: Squaduck创建于 2026年8月22日更新于 2026年8月24日
When trying to initialize the console on a terminal with a "large" terminfo entry, (eg: xterm), an exception is thrown. This is because of a hard-coded size check here: https://GitHub.com/mono/mono/blob/0f53e9e151d92944cacab3e24ac359410c606df6/mcs/class/corlib/System/TermInfoReader.cs#L92 (xterm-256color's terminfo is 4246 bytes on my system)
内容来源: mono/mono