migueldeicaza/TermKit

Characters are not flushed from DataTable

capaldo opened this issue · 2 comments

When using the DataTable, scrolling sometimes results in artifacts remaining in the view.

image

After further inspection, it seems that the artifacts stick around after these events occur:

2021-05-27 00:08:56.010 Df Example[42534:1fcd93] [termkit:TermKit] log: Lines copied 42

2021-05-27 00:08:56.834 Df Example[42534:1fcd93] [termkit:TermKit] log: Application Event: MouseEvent(pos: Point(x: 70, y: 32), absPos: Point(x: 70, y: 32), flags: MouseFlags (rawValue: 134217728) ["mousePosition"], viewId: -1

Can you tell me how you triggered this issue?

That looks like a potential race in the console driver.

Can you tell me how you triggered this issue?

That looks like a potential race in the console driver.

During the demo just scrolling downward and upward quickly using the arrow keys. Not sure what you mean by race in the console driver, apologies.