From 861a2f5275bbf077197588cc3e0f16f0d7da71b6 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Sun, 15 Jun 2025 21:51:44 +0800 Subject: [PATCH] terminal title --- koboldcpp.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/koboldcpp.py b/koboldcpp.py index e01122293..d432fb7a1 100644 --- a/koboldcpp.py +++ b/koboldcpp.py @@ -6191,6 +6191,14 @@ def main(launch_args, default_args): print("Debug Mode is Enabled!") args.quiet = False # verbose outputs + # assign title to terminal on windows + try: + if os.name == 'nt': + windowtitle = f"KoboldCpp {KcppVersion} Terminal" + os.system(f'title {windowtitle}') + except Exception: + pass + try: delete_old_pyinstaller() #perform some basic cleanup of old temporary directories except Exception as e: