From 2d2644a2679a496ad33202f69dcda75046533a04 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Fri, 9 Sep 2022 17:55:04 -0600 Subject: [PATCH] Highlight edit prompts --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index df1250c..f4437e7 100755 --- a/main.py +++ b/main.py @@ -367,7 +367,7 @@ while True: stdscr.clrtoeol() stdscr.addstr(23, 1, '[ENTER] Send [ESC] Cancel') else: - stdscr.addstr(8, 4, '[E] Edit message') + stdscr.addstr(8, 4, '[E] Edit message', curses.A_REVERSE if highlight_keys else 0) stdscr.addstr(23, 1, '[B] Back', curses.A_REVERSE if highlight_keys else 0) stdscr.clrtoeol() @@ -384,7 +384,7 @@ while True: stdscr.clrtoeol() stdscr.addstr(23, 1, '[ENTER] Send [ESC] Cancel') else: - stdscr.addstr(7, 4, '[E] Edit prompt') + stdscr.addstr(7, 4, '[E] Edit prompt', curses.A_REVERSE if highlight_keys else 0) stdscr.addstr(23, 1, '[B] Back', curses.A_REVERSE if highlight_keys else 0) if think_result: