mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 23:38:35 +02:00
UI: Ensure prompts shown by ns.prompt do not lose focus in the terminal tab (#2631)
This commit is contained in:
@@ -100,3 +100,9 @@ with a semicolon (;). For example:
|
||||
$ run foo.js; tail foo.js
|
||||
|
||||
Chained commands do **not** wait for functions like `hack` or `wget` to finish executing, and so may not always work as expected.
|
||||
|
||||
## Quirks
|
||||
|
||||
When your scripts render a text box (e.g., `<input>`, `<textarea>`) with the `autoFocus` attribute in the terminal or
|
||||
the tail log window, it may not focus automatically as expected. To be precise, the text box receives focus, but the
|
||||
terminal may immediately reclaim it. This depends on the specific timing of the render.
|
||||
|
||||
Reference in New Issue
Block a user