gitui/src
Kieran Siek bf31f20657
Fix external editor delay. (#1579)
The default polling rate of 1 second causes a 1 second delay when
queuing the event to launch the external editor, causing latency.

However, a slower polling helps reduce CPU usage, so let's
have a short polling duration as long as there are input events, and
slow poll otherwise.

Since the external editor among other components (not tested) is always
launched in response to an input event, we reduce the latency to ~100ms,
which is the fast poll duration.

Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
2023-08-12 18:28:59 +02:00
..
components visualize empty line in diff better (closes #1359) 2023-08-11 16:44:50 +02:00
keys 1751 follow symlink for keybinding config (#1767) 2023-07-29 23:04:53 +02:00
tabs fix hunk edits with non standard diff options (#1803) 2023-08-10 14:48:36 +02:00
ui print theme file path in log with mesages 2023-06-25 14:14:57 +02:00
app.rs fix hunk edits with non standard diff options (#1803) 2023-08-10 14:48:36 +02:00
args.rs switch back to dirs (#1783) 2023-07-30 10:44:49 +02:00
bug_report.rs cargo fmt: use hardtabs 2021-08-17 14:24:25 +02:00
clipboard.rs fix freeze on copy with wl-copy 2023-03-07 18:50:09 +01:00
cmdbar.rs upgrade ratatui 2023-06-19 15:05:17 +02:00
input.rs Fix external editor delay. (#1579) 2023-08-12 18:28:59 +02:00
main.rs more logging/diagnostics when repo cant be opened 2023-08-10 15:39:39 +02:00
notify_mutex.rs fix nightly builds 2023-07-07 15:46:32 +02:00
options.rs fix next commit msg from history ordering 2022-11-22 12:18:36 +01:00
popup_stack.rs generic popup stacking solution (#1124) 2022-02-06 22:13:05 +01:00
profiler.rs cargo fmt: use hardtabs 2021-08-17 14:24:25 +02:00
queue.rs FuzzyFindPopup for general use (#1672) 2023-06-20 12:57:36 +02:00
spinner.rs tui -> ratatui 2023-04-19 14:46:09 +02:00
string_utils.rs Allow to scroll diffs horizontally (#1327) 2023-01-08 12:47:37 +01:00
strings.rs visualize empty line in diff better (closes #1359) 2023-08-11 16:44:50 +02:00
version.rs cargo fmt: use hardtabs 2021-08-17 14:24:25 +02:00
watcher.rs Default to tick-based updates (#1657) 2023-04-29 17:03:43 +02:00