summaryrefslogtreecommitdiffstats
path: root/src/input.rs
AgeCommit message (Collapse)Author
2023-08-12changelog and notes for #1506extrawurst
2023-08-12Fix external editor delay. (#1579)Kieran Siek
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-05-14fix double key input on windows due to crossterm 0.26pm100
2022-08-31support opening submodule (#1298)extrawurst
2022-08-17upgrade crossterm/tuiextrawurst
2021-08-22dont use process abort on input thread error (#823)Stephan Dilly
rather perform a graceful shutdown
2021-08-17cargo fmt: use hardtabs Stephan Dilly
since it does not support hard-whitespaces its the only way to make whitespaces consisitent and checked
2021-06-05nightly clippy fixesStephan Dilly
2021-05-09allow input error to be logged and abort program (#693)Stephan Dilly
2020-06-30use condvar/mutex to not busywait when suspending input polling (closes #153)Stephan Dilly
2020-06-23fix state change bug introduced in last commitStephan Dilly
2020-06-23indicate whether input polling state in process of changingStephan Dilly
2020-06-22renameStephan Dilly