Move complete_while_typing_filter() to repl.py
#1818
+66
−61
Merged