mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 17:14:36 +00:00
terminal title
This commit is contained in:
parent
9809deed6a
commit
861a2f5275
1 changed files with 8 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue