devcontainers / devcontainers/cli
neovim not working properly using devcontainer exec
- 主要语言
- TypeScript
- 星标
- 3k
- 派生
- 457
- 平均合并
- 13 小时 17 分钟
- 30 天内合并 PR
- 6
描述
I am trying to rebuild the vscode remote containers feature for nvim and run into the following issue:
- nvim does not refresh the view correctly when running it using the devcontainer cli as follows: `devcontainer exec --workspace-folder . zsh -c "D=\$(pwd) && cd ~/dotfiles && devbox run nvim \$D"`
- using docker exec directly works though: `docker exec --user vscode -it reverent_neumann zsh -c "D=\$(pwd) && cd ~/dotfiles && devbox run nvim $D"`
Has someone an idea why this might happen?
I read about the $TERM variable which might cause this weird behavior.
Here is a screenshot that visualizes the issue. I use wezterm as terminal.

This is how it should look like:

Possibly related: https://github.com/loft-sh/devpod/issues/1187
贡献指南
评估
这个 Issue 还没有评估数据。