added show-mode-in-prompt