Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions IncSet.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ bool IncSet_handleKey(IncSet* this, int ch, Panel* panel, IncMode_GetPanelValue
IncSet_deactivate(this, panel);
doSearch = false;
filterChanged = mode->isFilter;
} else if (ch == 27) {
/* Esc aborts */
} else if (ch == 27 || ch == KEY_MOUSE || ch == KEY_RECLICK) {
/* Esc or panel click aborts */
if (this->history)
History_resetPosition(this->history);
if (mode->isFilter) {
Expand Down
3 changes: 2 additions & 1 deletion MainPanel.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ static HandlerResult MainPanel_eventHandler(Panel* super, int ch) {
reaction = HTOP_REFRESH | HTOP_REDRAW_BAR;
}
if (this->inc->found && this->inc->active && !this->inc->active->isFilter) {
reaction |= Action_follow(this->state);
host->activeTable->following = MainPanel_selectedRow(this);
Panel_setSelectionColor(super, PANEL_SELECTION_FOLLOW);
reaction |= HTOP_KEEP_FOLLOWING;
}
result = HANDLED;
Expand Down
Loading