fix(shell/lean.cpp): use temp ios