From a63d274b917b6d959c2c204bca0fd450e8c64876 Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Sat, 27 Jun 2020 12:40:03 -0400 Subject: [PATCH] Demo of new color format "fg on bg" --- DemoPrograms/Demo_Multiline_cprint_Printing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DemoPrograms/Demo_Multiline_cprint_Printing.py b/DemoPrograms/Demo_Multiline_cprint_Printing.py index 531db77a..85bd89fd 100644 --- a/DemoPrograms/Demo_Multiline_cprint_Printing.py +++ b/DemoPrograms/Demo_Multiline_cprint_Printing.py @@ -36,7 +36,7 @@ def main(): event, values = window.read() if event == sg.WIN_CLOSED or event == 'Exit': break - sg.cprint(event, values) + sg.cprint(event, values, colors='white on red') if event == 'Print': sg.cprint(values['-IN-'], text_color=values['-TEXT COLOR-'], background_color=values['-BG COLOR-']) elif event == 'Print short':