Sunday, April 14, 2024

How to force redraw of terminal after term_setansicolors?

Hello!

I'm using term_setansicolors to change the terminal colors. The effect only becomes visible when the terminal is redrawn. I tried ":redraw!", but for some reason this does not really redraw the terminal window (at least it does not show the new colors).

If I scroll in the terminal, resize the terminal window, or resize the GUI window, the terminal gets redrawn with the new colors. However, I'd like a clean programmatic way to cause the redrawing. Is this possible?

best regards

Edwin

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/5faaff7b-21a6-469e-8123-5a18f76d30b2n%40googlegroups.com.

No comments: