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:
@@ -3,4 +3,4 @@ source: tui/src/chatwidget/tests.rs
|
|||||||
expression: exec_blob
|
expression: exec_blob
|
||||||
---
|
---
|
||||||
>_
|
>_
|
||||||
✗ ⌨ sleep 1
|
✗ ⌨️ sleep 1
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user