Fix for adding tabs
fix CLI bug on EOF
(cherry picked from commit 6c970a6)
Merge branch 'fix-cli' of https://github.com/sorcersoft/Rio into rio-5.0-M4