neovim not working properly using devcontainer exec
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 461
- Avg merge
- 18m
- Merged PRs (30d)
- 5
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from devcontainers/cli
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
devcontainers/cli#1203 ·
-
Difficulty 1/5 1-3 hours Newbie friendliness 68/100
devcontainers/cli#1178 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
devcontainers/cli#1308 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 78/100
devcontainers/cli#1307 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
devcontainers/cli#1305 ·
All issues in devcontainers/cli
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
dennys-bd/agent-hive#184 ·
-
Add: hunch Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
AbdelStark/awesome-typesafe#104 ·
-
ai-observability bug team/ai-observability
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
vicharanashala/fln#563 ·