Skip to content

Commit 861a2f5

Browse files
committed
terminal title
1 parent 9809dee commit 861a2f5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

koboldcpp.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6191,6 +6191,14 @@ def main(launch_args, default_args):
61916191
print("Debug Mode is Enabled!")
61926192
args.quiet = False # verbose outputs
61936193

6194+
# assign title to terminal on windows
6195+
try:
6196+
if os.name == 'nt':
6197+
windowtitle = f"KoboldCpp {KcppVersion} Terminal"
6198+
os.system(f'title {windowtitle}')
6199+
except Exception:
6200+
pass
6201+
61946202
try:
61956203
delete_old_pyinstaller() #perform some basic cleanup of old temporary directories
61966204
except Exception as e:

0 commit comments

Comments
 (0)