Skip to content

Commit

Permalink
Draw window before processing events, fixes #143
Browse files Browse the repository at this point in the history
  • Loading branch information
fmckeogh committed Feb 5, 2023
1 parent f7de1ab commit d957a61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/interactive/app/eventloop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d957a61

Please sign in to comment.