Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fb5a39f

Browse files
committed
fix: redraw window while gathering metadata in interactive mode (Byron#143).
This fixes a by now long-standing issue with interactive mode only updating when keys are pressed, but not automatically.
2 parents f7de1ab + d957a61 commit fb5a39f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/interactive/app/eventloop.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ impl AppState {
7777
use crosstermion::input::Key::*;
7878
use FocussedPane::*;
7979

80+
self.draw(window, traversal, *display, terminal)?;
8081
for event in events {
8182
let key = match event {
8283
Event::Key(key) => key,

0 commit comments

Comments
 (0)