Vim: Warning: Output is not to a terminal to unlock the terminal
In fact,the vim is in editing state.3 ways to solve the issue. If one doesn't work,one by one to try until succeed
1.Press Esc then Shift+zz,it will release the terminal and be active.
2.Press Esc then :q!.
3.ZQ in uppercase.