Use the new input_common_add_callback mechanism to not execute callbacks while signals are blocked. Should fix https://github.com/fish-shell/fish-shell/issues/608

This commit is contained in:
ridiculousfish
2013-04-03 17:26:02 -07:00
parent 1543d02f96
commit d9445f04b1
4 changed files with 22 additions and 6 deletions

View File

@@ -56,6 +56,4 @@ void input_common_unreadch(wint_t ch);
/** Adds a callback to be invoked at the next turn of the "event loop." The callback function will be invoked and passed arg. */
void input_common_add_callback(void (*callback)(void *), void *arg);
#endif