mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-11 09:34:37 +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!")
|
print("Debug Mode is Enabled!")
|
||||||
args.quiet = False # verbose outputs
|
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:
|
try:
|
||||||
delete_old_pyinstaller() #perform some basic cleanup of old temporary directories
|
delete_old_pyinstaller() #perform some basic cleanup of old temporary directories
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue