Konsoole icon indicating copy to clipboard operation
Konsoole copied to clipboard

Make the output stable

Open apsdehal opened this issue 11 years ago • 4 comments

It is observed that under too much requests buffer overload and leads to unstable output. Find a way to stable this output. Currently gocui library supports the Flush function but it doesn't seem to work in this case.

apsdehal avatar Oct 05 '14 10:10 apsdehal

Hi, I'm the author of gocui. After seeing this issue I'm just curious to know if the problem persists after some improvements I commited last days in the gocui's repo. If so, could you please tell me how to reproduce it or give me some details about what "unstable output" means? Thanks in advance!

jroimartin avatar Feb 02 '15 00:02 jroimartin

Hi, Thanks for your interest. I get this error when my views are updated or when Konsoole is forced shut downed image

Because I need to capture logs, I store them in a file and redraw whole frame by first flushing it and then drawing it. I tried fixing this with your new changes but wasn't successful. Also the output blinks in between.

apsdehal avatar Feb 02 '15 21:02 apsdehal

Are you using the commit 3438be9f of gocui? Because that error should be fixed since commit c9c982ea, where I added a mutex to Gui.Flush(), so it is safe for concurrent use. Anyway, tomorrow I'll give Konsoole a shot to see if I can reproduce the issue.

jroimartin avatar Feb 03 '15 01:02 jroimartin

Hi, I was using the latest commit of your project. Check if you can help me with the issue.

apsdehal avatar Feb 04 '15 12:02 apsdehal