devcontainers / devcontainers/cli
neovim not working properly using devcontainer exec
- 主要言語
- TypeScript
- スター
- 3k
- フォーク
- 457
- 平均マージ
- 13時間 17分
- マージ済み PR(30日)
- 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
コントリビューションガイド
調査の方向性
Start by reproducing the exact devcontainer exec and docker exec commands, then compare the terminal-related environment and behavior between them, including the reported $TERM possibility. Done means identifying and documenting the cause of Neovim's incorrect refresh, or confirming a minimal fix that makes the devcontainer CLI invocation render correctly.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- docker, neovim, zsh
- 領域
- cli, devtools
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 30/100