lyuts / vim-rtags

Vim bindings for rtags, llvm/clang based c++ code indexer.
BSD 2-Clause "Simplified" License
282 stars 56 forks source link

Redraw is needed after every command #9

Closed sakhnik closed 9 years ago

sakhnik commented 9 years ago

Whenever a command is issued (rs, for instance), there's lots of artefacts left on screen if rdm is running in the same terminal. Until :redraw! is executed. Consider redrawing screen after every command invocation.

lyuts commented 9 years ago

Is there a reason you are running rdm in the same terminal? It seems like this is not a problem with the plugin, but a problem with the fact that rdm outputs to the same stdout, which leads to these artifacts. I don't think making unconditional redraw is necessary. As an alternative, if you really need to run rdm in the same terminal, it feels like you don't care about its output, then redirect its output to /dev/null. Open for comments and discussion.

sakhnik commented 9 years ago

Right, I agree.