cc-viewer 1.6.19 → 1.6.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.html
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
<title>Claude Code Viewer</title>
|
|
7
7
|
<link rel="icon" href="/favicon.ico?v=1">
|
|
8
8
|
<link rel="shortcut icon" href="/favicon.ico?v=1">
|
|
9
|
-
<script type="module" crossorigin src="/assets/index-
|
|
10
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
9
|
+
<script type="module" crossorigin src="/assets/index-DDE4g-cO.js"></script>
|
|
10
|
+
<link rel="stylesheet" crossorigin href="/assets/index-D8j4Mqbv.css">
|
|
11
11
|
</head>
|
|
12
12
|
<body>
|
|
13
13
|
<div id="root"></div>
|
package/package.json
CHANGED
package/pty-manager.js
CHANGED
|
@@ -228,8 +228,9 @@ export function writeToPtySequential(chunks, onComplete, opts = {}) {
|
|
|
228
228
|
|
|
229
229
|
ptyProcess.write(chunk);
|
|
230
230
|
|
|
231
|
-
// Space, Enter,
|
|
232
|
-
const isToggleOrSubmit = chunk === ' ' || chunk === '\r'
|
|
231
|
+
// Space, Enter, arrows need more time for inquirer to re-render
|
|
232
|
+
const isToggleOrSubmit = chunk === ' ' || chunk === '\r'
|
|
233
|
+
|| chunk === '\x1b[C' || chunk === '\x1b[A' || chunk === '\x1b[B';
|
|
233
234
|
const delay = isToggleOrSubmit ? settleMs : 80;
|
|
234
235
|
setTimeout(sendNext, delay);
|
|
235
236
|
};
|