Fixes #80. Tab in the console generates exception.