mirror of
https://github.com/pdxlocations/contact.git
synced 2026-08-08 09:53:08 +02:00
Make dialog "Ok" look highlighted
This commit is contained in:
+1
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user