Plain mode: icons go, so a screen reader doesn't read them out
-plain promises ASCII, but the menu's and actions' icons (▦ ◷ ⚑ ...) and the new ▲/▼ more lines were left as they were. Decorative icons become spaces; ▲ ▼ ◂ ⊘ become ^ v < x. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1d8ebaea91
commit
57ea4625c8
1 file changed
+3
-1
@@ -250,7 +250,9 @@ var plainText = strings.NewReplacer(
|
||||
"╭", "+", "╮", "+", "╰", "+", "╯", "+", "┌", "+", "┐", "+", "└", "+", "┘", "+", "├", "+", "┤", "+", "┬", "+", "┴", "+", "┼", "+",
|
||||
"│", "|", "─", "-", "▌", ">", "░", ".", "▸", ">", "▾", "v", "›", ">", "●", "*", "○", "o", "◉", "*",
|
||||
"▁", "1", "▂", "2", "▃", "3", "▄", "4", "▅", "5", "▆", "6", "▇", "7", "█", "8",
|
||||
"◢◤", " ",
|
||||
"◢◤", " ", "▲", "^", "▼", "v", "◂", "<", "⊘", "x",
|
||||
// Icons only decorate, and a screen reader would read each one out.
|
||||
"▦", " ", "✎", " ", "⚿", " ", "⚑", " ", "◷", " ", "⌂", " ", "⇢", " ", "↻", " ", "↺", " ", "↶", " ", "⚒", " ", "◫", " ", "◐", " ", "▤", " ", "◆", " ", "◇", " ", "◈", " ", "◎", " ", "◔", " ", "▣", " ", "⏻", " ", "⌫", " ", "⊕", " ", "≡", " ", "≈", " ", "⇲", " ", "⇪", " ", "⇡", " ", "⇄", " ", "↯", " ", "⇩", " ",
|
||||
)
|
||||
|
||||
const logo = `
|
||||
|
||||
Reference in new issue
Block a user