pylance things

This commit is contained in:
2026-08-21 00:57:15 -07:00
parent 7a438b1798
commit 19bd3f1279
21 changed files with 917 additions and 906 deletions
+4 -2
View File
@@ -197,13 +197,15 @@ class TerminalWindow(QWidget):
def _handle_stdout(self) -> None:
if self._process:
data = self._process.readAllStandardOutput().data().decode("utf-8")
raw_bytes = bytes(self._process.readAllStandardOutput().data())
data = raw_bytes.decode("utf-8")
if data.strip():
self.output_area.append(data.strip())
def _handle_stderr(self) -> None:
if self._process:
data = self._process.readAllStandardError().data().decode("utf-8")
raw_bytes = bytes(self._process.readAllStandardError().data())
data = raw_bytes.decode("utf-8")
if data.strip():
self.output_area.append(f"[Error] {data.strip()}")