Skip to content

Commit 77e05e3

Browse files
committed
Update colors when displaying dot-files
1 parent b1a48a7 commit 77e05e3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

seleniumbase/console_scripts/sb_print.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,9 @@ def main():
574574
the_code = rich_helper.fix_emoji_spacing(the_code)
575575
the_theme = "monokai"
576576
platform = sys.platform
577-
if "win32" in platform or "win64" in platform or "x64" in platform:
577+
if file_to_print.split(os.sep)[-1].startswith("."):
578+
the_theme = "tango"
579+
elif "win32" in platform or "win64" in platform or "x64" in platform:
578580
the_theme = "abap"
579581

580582
magic_syntax = rich_helper.process_syntax(

0 commit comments

Comments
 (0)