Revert "Don't set term"

As numpad keys don't function properly.

This reverts commit 94a8c377d263c39f91049d6f0641af9022e1b0b9.