arnaupv / nvim-devcontainer-cli

MIT License
62 stars 0 forks source link

Detect the cause/s of the UI issues of neovim when running inside the docker container #15

Closed arnaupv closed 1 year ago

arnaupv commented 1 year ago

I'm currently getting a problem similar to this https://www.reddit.com/r/neovim/comments/uykrof/neovim_visual_glitch_lines_misplaced_and_hidding/ when connecting to the docker container through this command:

devcontainer exec --workspace-folder ./ zsh

However this problem is not present when I'm doing it through docker exec

docker exec -it ${docker_id} bash -c "_bash_command_"

I do not know exactly what's the cause but a way to circumvent the problem would be to adapt the following script: https://github.com/arnaupv/nvim-devcontainer-cli/blob/main/bin/open_shell_in_devcontainer.sh so it connect to the devcontainer using docker exec instead of devcontainer exec.