unix
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2025 Haoming
|
||||
Copyright (c) 2026 Haoming
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -14,5 +14,6 @@ async def clear_console(request):
|
||||
os.system("cls")
|
||||
else:
|
||||
os.system("clear")
|
||||
print("\033[H\033[2J\033[3J", end="")
|
||||
|
||||
return web.Response(status=200)
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
[project]
|
||||
name = "comfyui-clear-screen"
|
||||
description = "Add a button that clears the console"
|
||||
version = "1.2.0"
|
||||
version = "1.2.1"
|
||||
license = { text = "MIT License" }
|
||||
dependencies = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user