mirror of
https://github.com/LazoCoder/Pokemon-Terminal
synced 2024-12-14 14:32:31 +00:00
17 lines
No EOL
347 B
Python
17 lines
No EOL
347 B
Python
import os
|
|
|
|
from . import TerminalProvider as _TProv
|
|
|
|
|
|
class TerminologyProvider(_TProv):
|
|
def is_compatible() -> bool:
|
|
return os.environ.get("TERMINOLOGY") == '1'
|
|
|
|
def change_terminal(path: str):
|
|
os.system('tybg "{}"'.format(path))
|
|
|
|
def clear():
|
|
os.system("tybg")
|
|
|
|
def __str__():
|
|
return "Terminology" |