ctrl+z导致powershell中docker命令行意外退出
最近经常使用 pwsh(PowerShell Core)连接 docker 访问 PostgreSQL 数据库,当我编辑命令的时候,可以使用 Ctrl+左右方向键进行左右词间的跳转,或者使用 alt+backspace 进行以词为单位的删除。 I frequently use pwsh to access docker-based postgresql database recently. It supports Ctrl+left/right edit on the command line. Use alt+backspace can delete words. 然而,当我多删了一个词的时候,长时间使用文本编辑器的习惯使我按下了 ctrl+z,希望进行恢复。这时,意外发生了:docker 命令行退出,返回到了 pwsh prompt。 But, When I acceidently press more backspace, I want to use “ctrl+z” to recover. An incident happens: docker command exited! 我尝试进行了一些搜索: I tried some searches: ctrl+z terminate docker terminal suspend and recover in powershell docker windows “ctrl z” 得到了一些相关的内容: ...