From ba3b4d5f0921fa6467727837c9a80b8f6fde3f59 Mon Sep 17 00:00:00 2001 From: Armel FAUVEAU Date: Thu, 4 Jul 2024 15:24:33 +0200 Subject: [PATCH] Fix channel name edit --- ui/menu.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ui/menu.c b/ui/menu.c index 9337da0..0d1f179 100644 --- a/ui/menu.c +++ b/ui/menu.c @@ -765,9 +765,11 @@ void UI_DisplayMenu(void) } else { // show the channel name being edited - UI_PrintString(edit, menu_item_x1, 0, 2, 8); + //UI_PrintString(edit, menu_item_x1, 0, 2, 8); + UI_PrintString(edit, menu_item_x1, menu_item_x2, 2, 8); if (edit_index < 10) - UI_PrintString("^", menu_item_x1 + (8 * edit_index), 0, 4, 8); // show the cursor + //UI_PrintString("^", menu_item_x1 + (8 * edit_index), 0, 4, 8); // show the cursor + UI_PrintString("^", menu_item_x1 - 1 + (8 * edit_index),0, 4, 8); // show the cursor } if (!gAskForConfirmation)