terminal title

This commit is contained in:
Concedo 2025-06-15 21:51:44 +08:00
parent 9809deed6a
commit 861a2f5275

View file

@ -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: