From eb161116f06835c44a50ad1524e1db3f274a05da Mon Sep 17 00:00:00 2001 From: Jeremy Rose <172423086+nornagon-openai@users.noreply.github.com> Date: Tue, 26 Aug 2025 16:11:21 -0700 Subject: [PATCH] =?UTF-8?q?tui:=20render=20keyboard=20icon=20with=20emoji?= =?UTF-8?q?=20variation=20selector=20(=E2=8C=A8=EF=B8=8F)=20(#2728)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- ...dex_tui__chatwidget__tests__interrupt_exec_marks_failed.snap | 2 +- codex-rs/tui/src/history_cell.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__interrupt_exec_marks_failed.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__interrupt_exec_marks_failed.snap index 89ce848b..7f15f49b 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__interrupt_exec_marks_failed.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__interrupt_exec_marks_failed.snap @@ -3,4 +3,4 @@ source: tui/src/chatwidget/tests.rs expression: exec_blob --- >_ - ✗ ⌨  sleep 1 + ✗ ⌨️  sleep 1 diff --git a/codex-rs/tui/src/history_cell.rs b/codex-rs/tui/src/history_cell.rs index 079c853b..f7c257d3 100644 --- a/codex-rs/tui/src/history_cell.rs +++ b/codex-rs/tui/src/history_cell.rs @@ -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.