From 20dd79eb5ee0f29bfb529d29b150328441fa8941 Mon Sep 17 00:00:00 2001 From: "LAPTOP-O016UC3M\\Qi Chen" <16399091+binaricat@users.noreply.github.com> Date: Thu, 11 Dec 2025 21:04:37 +0800 Subject: [PATCH] Removes trailing whitespace for code style consistency Cleans up unnecessary trailing whitespace in the codebase to improve readability and maintain consistent formatting. --- components/Terminal.tsx | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/Terminal.tsx b/components/Terminal.tsx index e62af2ce3..8161eedb3 100644 --- a/components/Terminal.tsx +++ b/components/Terminal.tsx @@ -221,7 +221,7 @@ const TerminalComponent: React.FC = ({ try { term.open(containerRef.current); - + // Load WebGL addon for GPU-accelerated rendering try { const webglAddon = new WebglAddon(); @@ -232,7 +232,7 @@ const TerminalComponent: React.FC = ({ } catch (webglErr) { console.warn("[XTerm] WebGL addon failed, using canvas renderer:", webglErr); } - + fitAddon.fit(); term.focus(); } catch (openErr) { diff --git a/package.json b/package.json index bda08fa12..2c759c1a9 100755 --- a/package.json +++ b/package.json @@ -58,4 +58,4 @@ "vite": "^6.2.0", "wait-on": "^7.2.0" } -} +} \ No newline at end of file