fix: redraw terminal elements on subsequent Alpha redraws#282
fix: redraw terminal elements on subsequent Alpha redraws#282bezhermoso wants to merge 1 commit intogoolord:mainfrom
Conversation
|
ah, i see the problem now, but i'm pretty sure this is like using a shotgun to kill a fly. the terminal buffer should just get redrawn when you open alpha back up |
|
@goolord I've found that something spams the I cannot figure out what's causing the deluge of |
|
Hmm, if I disable the |
|
Hi @goolord, can you please expound on Isn't this what this PR achieves? The |
The
alpha.termextension deletes the terminal buffer onAlphaClosed, which causes anInvalid window id: ...error when the plugin tries to redraw things. This PR makes it so that it sets theredrawoption back totruewhen the Alpha buffer is closed. Doing it this way still avoids the infinite redraw problem that this flag was preventing.This should solve the issue reported here: #275