This is a really naive approach at solving the problem and I'm not sure if this somehow affects other places in the codebase. Since layer.render is being called without a parameter for lnum and end_ inside each widget, the render function appends the widget content instead of replacing it (wich does happend when the widget ir refresh. I saw that in that call 0 and -1 were being passed as values for lnum and end_, so I tried doing the same here and it worked).
Fixes #1042.
This is a really naive approach at solving the problem and I'm not sure if this somehow affects other places in the codebase. Since
layer.render
is being called without a parameter forlnum
andend_
inside each widget, the render function appends the widget content instead of replacing it (wich does happend when the widget ir refresh. I saw that in that call 0 and -1 were being passed as values forlnum
andend_
, so I tried doing the same here and it worked).