Also got rid of trailing white space. That corrupted .git/. Big ass-commit because of recovered .git directory.
This terminal will provide the keyboard data in a couple modes as /dev/tty.