Move terminal input out of the kernel, as it's not needed there any more.