Project and Repair workspaces; adoption keeps the person's own pane; truncation fix

This commit is contained in:
Sam
2026-11-10 14:28:18 +11:00
parent 031073fc46
commit c9a1a61cba
15 changed files with 910 additions and 23 deletions

View File

@@ -111,12 +111,15 @@ var plainGlyphs = glyphSet{
// draws cannot be checked from here. The words next to every icon carry the
// meaning either way, and -nerd opts into the richer set once it has been seen
// on the terminal that matters.
var icons = plainGlyphs
// The Nerd Font is installed, so the icons are on by default; -ascii switches
// to plain characters for a terminal that cannot draw them. Either way the word
// next to the icon carries the meaning.
var icons = nerdGlyphs
func chooseGlyphs(useNerd bool) {
if useNerd {
icons = nerdGlyphs
func chooseGlyphs(useASCII bool) {
if useASCII {
icons = plainGlyphs
return
}
icons = plainGlyphs
icons = nerdGlyphs
}