Skip to content

Commit

Permalink
linux setting up
Browse files Browse the repository at this point in the history
  • Loading branch information
ngdplnk committed May 1, 2024
1 parent 0a08f72 commit dc190a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 2-development/dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def limpiar_consola():
# WINDOW TITLE
def window_title(title):
if sys.platform.startswith('win32'): # En Windows - On Windows
ctypes.windll.kernel32.SetConsoleTitleW(title)
ctypes.windll.kernel32.SetConsoleTitleW(title) # type: ignore
elif sys.platform.startswith('linux') or sys.platform.startswith('darwin'): # For Linux
sys.stdout.write(f"\x1b]2;{title}\x07")

Expand Down

0 comments on commit dc190a4

Please sign in to comment.