mirror of
https://github.com/pdxlocations/contact.git
synced 2026-07-06 01:41:15 +02:00
set a few pad bg colors
This commit is contained in:
+2
-1
@@ -163,7 +163,8 @@ def get_enum_input(options, current_value):
|
||||
enum_win.keypad(True)
|
||||
|
||||
enum_pad = curses.newpad(len(options) + 1, width - 8)
|
||||
|
||||
enum_pad.bkgd(get_color("background"))
|
||||
|
||||
enum_win.erase()
|
||||
enum_win.border()
|
||||
enum_win.addstr(1, 2, "Select an option:", get_color("settings_default", bold=True))
|
||||
|
||||
@@ -31,6 +31,7 @@ def display_menu(current_menu, menu_path, selected_index, show_save_option):
|
||||
menu_win.keypad(True)
|
||||
|
||||
menu_pad = curses.newpad(len(current_menu) + 1, width - 8)
|
||||
menu_pad.bkgd(get_color("background"))
|
||||
|
||||
# Display the current menu path as a header
|
||||
header = " > ".join(word.title() for word in menu_path)
|
||||
|
||||
Reference in New Issue
Block a user