Make dialog "Ok" look highlighted

This commit is contained in:
Russell Schmidt
2025-01-17 12:49:39 -06:00
parent 5bd33ed786
commit 94e7e8f628
+1 -1
View File
@@ -25,7 +25,7 @@ def dialog(stdscr, title, message):
win.addstr(2 + i, 2, l)
# Add button
win.addstr(dialog_height - 2, (dialog_width - 4) // 2, " Ok ")
win.addstr(dialog_height - 2, (dialog_width - 4) // 2, " Ok ", curses.color_pair(3))
# Refresh dialog window
win.refresh()