|
|
Yes, thanks Manolo, I found there's a few issues that I can maybe optimize in Fl_Simple_Terminal too; there's three calls that seem to use a lot of CPU, and are called each time its printf() method is called:
- buffer->append() -- appends the string to the buffer, causing a recalc
- scroll(newpos) -- forces scrollbar to bottom, but ALSO causes an entire buffer recalc
- A remove() operation to enforce the screen history size (ALSO causes a buffer recalc)
I'm not sure how I can optimize all that though.. it'd probably be easier to implement the terminal code myself rather than try to fix Fl_Text_Editor lol.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
[ Direct Link to Message ] | |
|
| |