Fix getch()-related bug... probobly doing anything with the mouse while viewing the scrollback would have hung SyncTERM.