Skip to content

Commit

Permalink
Simplify the fix from the last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
shmuz committed Jan 10, 2025
1 parent 60318f2 commit 5b2d3c0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions far/src/manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -319,9 +319,8 @@ void Manager::ExecuteModalEV(bool RefreshScreen)
ExecuteModal();
ModalEVCount--;
if (RefreshScreen) {
auto top = GetTopModal();
if (!(top && top->GetType() == MODALTYPE_VMENU))
ProcessKey(KEY_CONSOLE_BUFFER_RESIZE); //redraw all
ProcessKey(KEY_CONSOLE_BUFFER_RESIZE); //redraw all
Commit();
}
}

Expand Down

0 comments on commit 5b2d3c0

Please sign in to comment.