This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch tui-run-options-and-features in repository https://gitbox.apache.org/repos/asf/camel.git
commit 06de5c8f6985b0c671118807daffb728bf5d7ef1 Author: Claus Ibsen <[email protected]> AuthorDate: Thu May 21 21:40:02 2026 +0200 camel-tui: Add emoji icons to F2 actions menu items Co-Authored-By: Claude Opus 4.6 <[email protected]> --- .../camel/dsl/jbang/core/commands/tui/ActionsPopup.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/ActionsPopup.java b/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/ActionsPopup.java index 5bf884e24fc3..0c21c440add7 100644 --- a/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/ActionsPopup.java +++ b/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/ActionsPopup.java @@ -315,7 +315,7 @@ class ActionsPopup { // ---- Rendering ---- private void renderActionsMenu(Frame frame, Rect area) { - int popupW = 32; + int popupW = 34; int popupH = 2 + ACTION_COUNT; int x = area.left() + Math.max(0, (area.width() - popupW) / 2); int y = area.top() + Math.max(0, (area.height() - popupH) / 2); @@ -323,12 +323,12 @@ class ActionsPopup { frame.renderWidget(Clear.INSTANCE, popup); String keystrokeLabel = keystrokesEnabled.get() - ? " Hide Keystrokes" - : " Show Keystrokes"; + ? " ⌨️ Hide Keystrokes" + : " ⌨️ Show Keystrokes"; ListWidget list = ListWidget.builder() - .items(ListItem.from(" Run an example..."), - ListItem.from(" Show Documentation"), - ListItem.from(" Take Screenshot"), + .items(ListItem.from(" 🐪 Run an example..."), + ListItem.from(" 📖 Show Documentation"), + ListItem.from(" 📸 Take Screenshot"), ListItem.from(keystrokeLabel), ListItem.from(" 🩺 Run Doctor")) .highlightStyle(Style.EMPTY.fg(Color.WHITE).bold().onBlue())
