Skip to content

Commit

Permalink
Merge pull request #892 from MKadaner/mzk/gh-763/history-menu-refresh
Browse files Browse the repository at this point in the history
gh-763: Fixed drawing of History menu border after refresh (`Ctrl+R`) and clear (`Del`).
  • Loading branch information
alabuzhev authored Dec 20, 2024
2 parents 9b7db07 + 39c6158 commit 029e057
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
6 changes: 6 additions & 0 deletions far/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
--------------------------------------------------------------------------------
MZK 2024-12-19 16:56:14-05:00 - build 6403

1. gh-763: Fixed drawing of History menu border after refresh (`Ctrl+R`)
and clear (`Del`).

--------------------------------------------------------------------------------
drkns 2024-12-14 12:19:57+00:00 - build 6402

Expand Down
2 changes: 1 addition & 1 deletion far/history.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ history_return_type History::ProcessMenu(string& strStr, UUID* const Uuid, strin
SetUpMenuPos=false;
}

HistoryMenu.Redraw();
HistoryMenu.Show();

MenuExitCode=HistoryMenu.Run([&](const Manager::Key& RawKey)
{
Expand Down
2 changes: 1 addition & 1 deletion far/vbuild.m4
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6402
6403
2 changes: 0 additions & 2 deletions far/vmenu.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,6 @@ class VMenu final: public Modal
void RestoreFilteredItems();
void FilterStringUpdated();
void FilterUpdateHeight(bool bShrink = false);
void SetFilterEnabled(bool bEnabled) { bFilterEnabled = bEnabled; }
void SetFilterLocked(bool bLocked) { bFilterEnabled = bLocked; }
bool AddToFilter(string_view Str);
size_t size() const { return Items.size(); }
bool empty() const { return Items.empty(); }
Expand Down

0 comments on commit 029e057

Please sign in to comment.