Revert "Fix terminal enter"

This reverts commit 93fe1386725037b9c93378d7709e2584e5adf7d6.