diff options
author | Sebastian Thiel <sebastian.thiel@icloud.com> | 2023-02-05 17:03:17 +0100 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2023-02-05 17:03:17 +0100 |
commit | fb5a39ffb67fad80be0d2090efd34d259d439e98 (patch) | |
tree | 608e7a83623c837de5472fb5b0324d25e9ba16cf | |
parent | f7de1abe9e023abfbc6c757b60085fa8e6ecb538 (diff) | |
parent | d957a61ac79b990fa3cf470a9b500b6f390e3a18 (diff) |
fix: redraw window while gathering metadata in interactive mode (#143).
This fixes a by now long-standing issue with interactive mode only updating
when keys are pressed, but not automatically.
-rw-r--r-- | src/interactive/app/eventloop.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interactive/app/eventloop.rs b/src/interactive/app/eventloop.rs index 77901ed..6778070 100644 --- a/src/interactive/app/eventloop.rs +++ b/src/interactive/app/eventloop.rs @@ -77,6 +77,7 @@ impl AppState { use crosstermion::input::Key::*; use FocussedPane::*; + self.draw(window, traversal, *display, terminal)?; for event in events { let key = match event { Event::Key(key) => key, |