mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 13:39:02 +00:00
Fix to stop spamming console with event messages (oops)
This commit is contained in:
parent
9787901ddb
commit
fdef238a83
1 changed files with 1 additions and 4 deletions
|
@ -243,9 +243,7 @@ void event_add_handler( event_t *event )
|
||||||
signal_handle( e->param1.signal, 1 );
|
signal_handle( e->param1.signal, 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
events.push_back(e);
|
events.push_back(e);
|
||||||
|
|
||||||
show_all_handlers();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void event_remove( event_t *criterion )
|
void event_remove( event_t *criterion )
|
||||||
|
@ -295,7 +293,6 @@ void event_remove( event_t *criterion )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
events.swap(new_list);
|
events.swap(new_list);
|
||||||
show_all_handlers();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int event_get( event_t *criterion, std::vector<event_t *> *out )
|
int event_get( event_t *criterion, std::vector<event_t *> *out )
|
||||||
|
|
Loading…
Reference in a new issue