Exafunction / codeium.vim

Free, ultrafast Copilot alternative for Vim and Neovim
https://codeium.com
MIT License
4.12k stars 147 forks source link

silence non-interactive system() calls #181

Closed toofar closed 1 year ago

toofar commented 1 year ago

Control characters can leak onto the screen in some configurations (observed with vim on linux with some terminals). :help system says to prepend calls with silent to prevent that.

There are some other system() calls in the codebase which could maybe use this treatment but I'm not going to go changing them without being able to reproduce the same issue. Eg I did rm -r ~/.codeium/bin/* and restarted vim and the binary was put back and there was no garbage on the screen. :shrug:

Fixes: #83 Fixes: #126