pum-agent 0.2.23-beta.1 → 0.2.24-beta.1
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/package.json +1 -1
- package/src/app.tsx +8 -2
package/package.json
CHANGED
package/src/app.tsx
CHANGED
|
@@ -310,8 +310,14 @@ const QUIT_WINDOW_MS = 2000;
|
|
|
310
310
|
const MAX_INPUT_ROWS = 8;
|
|
311
311
|
/** How long a scroll to a row waits between tries for React to draw it. */
|
|
312
312
|
const ROW_DRAW_RETRY_MS = 30;
|
|
313
|
-
/**
|
|
314
|
-
|
|
313
|
+
/**
|
|
314
|
+
* How many of those tries it makes before it gives up.
|
|
315
|
+
*
|
|
316
|
+
* A busy machine with a long session can take most of a second to draw a row
|
|
317
|
+
* that had to be mounted first, and a jump that gives up before then looks to
|
|
318
|
+
* the reader exactly like a dead key.
|
|
319
|
+
*/
|
|
320
|
+
const ROW_DRAW_TRIES = 30;
|
|
315
321
|
/** Frames a scroll correction waits for its rows before it gives up. */
|
|
316
322
|
const ANCHOR_FRAME_BUDGET = 30;
|
|
317
323
|
/** Keys that move around without changing the text. */
|