commit 4d19761b577e4926b47961257da9ffcac48b0d01
parent 7ca6b7d2c3919efbfb00a6040c12c3b68d3c3dfa
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Tue, 10 Nov 2026 15:55:44 -0500
umtool: the review pass's k f n ignore a held key's repeats -- one press, one answer -- L7b review item 2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/umtool/components/projects/workspace/ReviewPass.tsx b/umtool/components/projects/workspace/ReviewPass.tsx
@@ -241,6 +241,8 @@ export default function ReviewPass({
useEffect(() => {
const onKey = (ev: KeyboardEvent) => {
if (ev.metaKey || ev.ctrlKey || ev.altKey) return;
+ // A held key is one answer, never a run of them over blocks nobody watched.
+ if (ev.repeat) return;
const t = ev.target as HTMLElement | null;
if (t?.closest("input, textarea, select, [contenteditable=true], [role=dialog]")) return;
if (ev.key === "k" || ev.key === "K") void keys.current.go("keep", null);