Skip to content

Commit f1db4d4

Browse files
committed
run: Add platform information on startup.
1 parent 60fdbfd commit f1db4d4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

zulipterminal/cli/run.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
)
2121
from zulipterminal.core import Controller
2222
from zulipterminal.model import ServerConnectionFailure
23+
from zulipterminal.platform_code import PLATFORM
2324
from zulipterminal.version import ZT_VERSION
2425

2526

@@ -439,6 +440,10 @@ def main(options: Optional[List[str]] = None) -> None:
439440
if args.notify:
440441
zterm["notify"] = (args.notify, "on command line")
441442

443+
if PLATFORM:
444+
print("Detected Platform: " + PLATFORM)
445+
else:
446+
print("Running on undetected platform.")
442447
print("Loading with:")
443448
print(" theme '{}' specified {}.".format(*theme_to_use))
444449
complete, incomplete = complete_and_incomplete_themes()

0 commit comments

Comments
 (0)