add resize setting in shell-mode