We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97ddb81 commit be6a8b0Copy full SHA for be6a8b0
seleniumbase/console_scripts/sb_print.py
@@ -570,11 +570,15 @@ def main():
570
used_width = code_width + extra_r_spaces
571
572
the_code = rich_helper.fix_emoji_spacing(the_code)
573
+ the_theme = "monokai"
574
+ platform = sys.platform
575
+ if "win32" in platform or "win64" in platform or "x64" in platform:
576
+ the_theme = "abap"
577
578
magic_syntax = rich_helper.process_syntax(
579
the_code,
580
code_lang,
- theme="monokai",
581
+ theme=the_theme,
582
line_numbers=line_numbers,
583
code_width=used_width,
584
word_wrap=word_wrap,
0 commit comments