claude-code-remote-pilot 0.4.6 → 0.4.7
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/lib/ui.html +3 -2
- package/package.json +1 -1
package/lib/ui.html
CHANGED
|
@@ -539,7 +539,8 @@ function SessionDetailScreen({ session, onBack, onKilled }) {
|
|
|
539
539
|
} catch {
|
|
540
540
|
} finally {
|
|
541
541
|
setSending(false);
|
|
542
|
-
|
|
542
|
+
// Defer focus until after React re-enables the input (disabled={sending})
|
|
543
|
+
setTimeout(() => inputRef.current?.focus(), 0);
|
|
543
544
|
}
|
|
544
545
|
};
|
|
545
546
|
|
|
@@ -551,7 +552,7 @@ function SessionDetailScreen({ session, onBack, onKilled }) {
|
|
|
551
552
|
body: JSON.stringify({ key }),
|
|
552
553
|
});
|
|
553
554
|
} catch {}
|
|
554
|
-
inputRef.current?.focus();
|
|
555
|
+
setTimeout(() => inputRef.current?.focus(), 0);
|
|
555
556
|
};
|
|
556
557
|
|
|
557
558
|
const handleKeyDown = (e) => {
|
package/package.json
CHANGED