chore: bump version to 0.1596

This commit is contained in:
arkon
2026-02-22 05:52:25 +01:00
parent 1a36ae15b8
commit 84c454cf40
4 changed files with 11 additions and 5 deletions
+6
View File
@@ -961,6 +961,10 @@ class LocalEchoOverlay {
// other case where the PTY has prompt text the overlay doesn't know about.
// Without this, the overlay's opaque background covers the canvas text.
_detectBufferText() {
// Skip if we already detected and the user backspaced through it —
// the PTY backspace echo is async, so the buffer still has stale text.
// Reset on clear() (Enter, Ctrl+C, tab switch).
if (this._bufferDetectDone) return;
try {
const prompt = this._findPrompt();
if (!prompt) return;
@@ -975,6 +979,7 @@ class LocalEchoOverlay {
this._flushedOffset = afterPrompt.length;
this._flushedText = afterPrompt;
this._lastPromptPos = prompt;
this._bufferDetectDone = true;
}
} catch {}
}
@@ -1017,6 +1022,7 @@ class LocalEchoOverlay {
this.pendingText = '';
this._flushedOffset = 0;
this._flushedText = '';
this._bufferDetectDone = false; // allow re-detection after next clear
this._persist();
this._lastRenderKey = '';
this._lastPromptPos = null;
+3 -3
View File
@@ -8,8 +8,8 @@
<meta name="google" content="notranslate">
<title>Claudeman</title>
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%2360a5fa'/%3E%3Cstop offset='100%25' stop-color='%233b82f6'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='32' height='32' rx='6' fill='%230a0a0a'/%3E%3Cpath d='M18 4L8 18h6l-2 10 10-14h-6z' fill='url(%23g)'/%3E%3C/svg%3E">
<link rel="stylesheet" href="styles.css?v=0.1595">
<link rel="stylesheet" href="mobile.css?v=0.1595" media="(max-width: 1023px)">
<link rel="stylesheet" href="styles.css?v=0.1596">
<link rel="stylesheet" href="mobile.css?v=0.1596" media="(max-width: 1023px)">
<!-- xterm.css loaded async — terminal won't display until xterm.js runs anyway -->
<link rel="preload" href="vendor/xterm.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
<noscript><link rel="stylesheet" href="vendor/xterm.css"></noscript>
@@ -1559,6 +1559,6 @@
<!-- Lines drawn dynamically -->
</svg>
<script defer src="app.js?v=0.1595"></script>
<script defer src="app.js?v=0.1596"></script>
</body>
</html>