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
2025-08-26 16:11:21 -07:00
committed by GitHub
parent c229a67312
commit eb161116f0
2 changed files with 2 additions and 2 deletions

View File

@@ -3,4 +3,4 @@ source: tui/src/chatwidget/tests.rs
expression: exec_blob
---
>_
✗ ⌨  sleep 1
✗ ⌨ sleep 1

View File

@@ -396,7 +396,7 @@ fn new_parsed_command(
ParsedCommand::Format { .. } => padded_emoji_with("", "Formatting"),
ParsedCommand::Test { 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),
};
// Prefix: two spaces, marker, space. Continuations align under the text block.