You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
zsh 的图形化 prompt(starship / powerlevel10k / oh-my-posh)和
eza等图标输出,在侧栏终端里全是方块;iTerm2 / kitty / VS Code 同机正常。根因:
0.1.7-alpha.1的ui-sidebar-terminal里 xterm 构造参数硬编码fontFamily: "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace"这条链没有任何含 Nerd Font 字形的字体;xterm.js 是 canvas 渲染,CSS 覆盖不生效,只能改渲染器收到的
fontFamily。建议(最小改动):
Symbols Nerd Font Mono是 Nerd Fonts 官方的 symbols-only 字体,排链尾只补主字体缺的字形、不改格子度量,未安装的机器自然跳过,零回归。主字体 / 图标字体可再做成 Host Config +settings.general.item设置行,交给用户选,不把厂商名写进默认链。注意:
rescaleOverlappingGlyphs默认false,开它是行为变更(Powerline 分隔符从溢出变缩放),建议同时给配置位。已验证:本机对已安装的
0.1.7-alpha.1打过补丁,printf输出正常,设置行热更新生效;默认链在没装图标字体的机器上与今天一致。CONTRIBUTING 说明暂不收外部 PR,故发此帖。想问:更倾向只做默认链兜底,还是一并做可配置的设置行?
All reactions