Error opening terminal: xterm 解决办法
terminal
The new Windows Terminal and the original Windows console host, all in the same place!
项目地址:https://gitcode.com/gh_mirrors/term/terminal
免费下载资源
·
1. For error message "Error opening terminal: linux"
mkdir -p /usr/share/terminfo/l
cd /usr/share/terminfo/l
ln -s /lib/terminfo/l/linux linux
2. For error message "Error opening terminal: xterm"
mkdir -p /usr/share/terminfo/x
cd /usr/share/terminfo/x
ln -s /lib/terminfo/x/xterm xterm
3. For error message "Error opening terminal: rxvt"
mkdir -p /usr/share/terminfo/r
cd /usr/share/terminfo/r
ln -s /lib/terminfo/r/rxvt rxvt
4. For error message "Error opening terminal: dumb"
mkdir -p /usr/share/terminfo/d
cd /usr/share/terminfo/d
ln -s /lib/terminfo/d/dumb dumb
5. For error message "Error opening terminal: Eterm"
mkdir -p /usr/share/terminfo/E
cd /usr/share/terminfo/E
ln -s /lib/terminfo/E/Eterm Eterm
mkdir -p /usr/share/terminfo/l
cd /usr/share/terminfo/l
ln -s /lib/terminfo/l/linux linux
2. For error message "Error opening terminal: xterm"
mkdir -p /usr/share/terminfo/x
cd /usr/share/terminfo/x
ln -s /lib/terminfo/x/xterm xterm
3. For error message "Error opening terminal: rxvt"
mkdir -p /usr/share/terminfo/r
cd /usr/share/terminfo/r
ln -s /lib/terminfo/r/rxvt rxvt
4. For error message "Error opening terminal: dumb"
mkdir -p /usr/share/terminfo/d
cd /usr/share/terminfo/d
ln -s /lib/terminfo/d/dumb dumb
5. For error message "Error opening terminal: Eterm"
mkdir -p /usr/share/terminfo/E
cd /usr/share/terminfo/E
ln -s /lib/terminfo/E/Eterm Eterm
GitHub 加速计划 / term / terminal
94.53 K
8.17 K
下载
The new Windows Terminal and the original Windows console host, all in the same place!
最近提交(Master分支:2 个月前 )
d04381ec
"HighContrast" is not a possible requested theme. So `_UpdateBackgroundForMica()` would force the settings UI to be light or dark. To fix this, we just check if we're in high contrast mode and, if so, we don't bother setting the requested theme. 2 天前
e83434ff
Turns out that having the styles for the KeyChordText and ParsedCommandLineText be empty for high contrast mode caused the issue. Since we're already using theme resources for the colors, we automatically adjust properly to whatever the high contrast theme is (Thanks XAML!).
Bonus points:
- we didn't need the theme dictionaries anymore, so I just moved them to the ResourceDictionary directly
- ParsedCommandLineTextBlockStyle isn't used. So I removed it altogether.
Validated command palette with multiple high contrast themes. See PR thread for demo.
Closes #17914 2 天前
更多推荐
已为社区贡献11条内容
所有评论(0)