Update shell to work with new term.lua