recently, I suddenly found a problem with terminal that comes with mac, including iterm2 and other command lines of app (such as vscode):
strange characters will appear when using shift+ direction keys (in fact, control+ direction keys will also have)
I don"t know how to solve it, so it"s the same with zsh instead.
in terms of what I have done recently, I have added several themes to terminal and upgraded the system
macOS version: 10.14.3