From f991fb69940d91163c7ef20e9dcd54eb66a6067c Mon Sep 17 00:00:00 2001 From: SpookyDervish <78246495+SpookyDervish@users.noreply.github.com> Date: Sun, 26 Oct 2025 21:11:06 +1100 Subject: [PATCH] =?UTF-8?q?nvm=20textual-terminal=20is=20fucking=20broken?= =?UTF-8?q?=20on=20EVERYTHING=20=F0=9F=98=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/main.py b/main.py index 10d1f3c..db88a5c 100644 --- a/main.py +++ b/main.py @@ -47,12 +47,12 @@ class Berry(App): ) yield TextArea.code_editor(placeholder="This file is empty.", language="python", theme="css", id="code-editor", disabled=True) - if os.name == "nt": - with Vertical(id="console-container"): - yield RichLog(id="console") - yield Input(placeholder="> ", id="console-input") - else: - yield Terminal(command="bash", id="terminal") + #if os.name == "nt": + with Vertical(id="console-container"): + yield RichLog(id="console") + yield Input(placeholder="> ", id="console-input") + #else: + # yield Terminal(command="bash", id="terminal") yield Footer() @@ -275,10 +275,10 @@ class Berry(App): self.switching = False self.file_clicked = False - if os.name == "nt": - self.query_one("#console").write("Run a command below.") - else: - self.query_one("#terminal").start() + #if os.name == "nt": + self.query_one("#console").write("Run a command below.") + #else: + # self.query_one("#terminal").start() if __name__ == "__main__":