Project and Repair workspaces; adoption keeps the person's own pane; truncation fix
This commit is contained in:
13
tui/theme.go
13
tui/theme.go
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user