tui: render keyboard icon with emoji variation selector (⌨️) (#2728)

Use emoji variation selector (VS16) for the keyboard icon so it
consistently renders as emoji (⌨️) rather than text (⌨) across
terminals.

Touches TUI command rendering for unknown parsed commands. No behavior
change beyond display.
This commit is contained in:
Jeremy Rose authored and GitHub committed 2025-08-26 16:11:21 -07:00
1 parent c229a67312
commit eb161116f0
2 files changed
+2 -2

No files matched your search

@@ -3,4 +3,4 @@ source: tui/src/chatwidget/tests.rs
expression: exec_blob expression: exec_blob
--- ---
>_ >_
✗ ⌨  sleep 1 ✗ ⌨️  sleep 1
+1 -1
View File
@@ -396,7 +396,7 @@ fn new_parsed_command(
ParsedCommand::Format { .. } => padded_emoji_with("✨", "Formatting"), ParsedCommand::Format { .. } => padded_emoji_with("✨", "Formatting"),
ParsedCommand::Test { cmd } => padded_emoji_with("🧪", cmd), ParsedCommand::Test { cmd } => padded_emoji_with("🧪", cmd),
ParsedCommand::Lint { cmd, .. } => padded_emoji_with("🧹", cmd), ParsedCommand::Lint { cmd, .. } => padded_emoji_with("🧹", cmd),
ParsedCommand::Unknown { cmd } => padded_emoji_with("⌨", cmd), ParsedCommand::Unknown { cmd } => padded_emoji_with("⌨️", cmd),
ParsedCommand::Noop { cmd } => padded_emoji_with("🔄", cmd), ParsedCommand::Noop { cmd } => padded_emoji_with("🔄", cmd),
}; };
// Prefix: two spaces, marker, space. Continuations align under the text block. // Prefix: two spaces, marker, space. Continuations align under the text block.