filter-input: use input-event in addition to keyup

the input event is fired whenever the text changes, even when the user clickpastes something. this should also fix an android-related issue (where backspaces aren't recognized)