From 687e7af91b13c5e4e40f1bee806af9355cd04fe8 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Mon, 27 Oct 2025 16:41:05 +1100 Subject: [PATCH] fix: Make prompt fit on mobile and fix autocaps --- templates/terminal.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/terminal.html b/templates/terminal.html index d0535b3..799ca80 100644 --- a/templates/terminal.html +++ b/templates/terminal.html @@ -94,10 +94,10 @@
Type 'help' for available commands
-
┌──({{user}}@NathanWoodburn)-[~]
+
┌──({{user}}@NW)-[~]
└─$  - +
@@ -131,7 +131,7 @@ const data = await response.json(); if (data.output) { currentPwd = data.output; - inputLine.querySelector('.prompt-line:first-child').textContent = `┌──({{user}}@NathanWoodburn)-[${currentPwd}]`; + inputLine.querySelector('.prompt-line:first-child').textContent = `┌──({{user}}@NW)-[${currentPwd}]`; } } catch (err) { console.error('Failed to fetch pwd:', err); @@ -270,7 +270,7 @@ // Display command const cmdLine = document.createElement('div'); cmdLine.className = 'line'; - cmdLine.innerHTML = `┌──({{user}}@NathanWoodburn)-[${currentPwd}]\n└─$ ${command}`; + cmdLine.innerHTML = `┌──({{user}}@NW)-[${currentPwd}]\n└─$ ${command}`; terminal.appendChild(cmdLine); // Add to history