TTERM implementation (2) display completion

zhaozj2021-02-16  72

Today, TTERM's display has been done, and browsing SMTH has no problem with FTERM. At the beginning, it was a thread to open a thread to be responsible for the screen's redraw, the result is too slow, the delay is large and the Fterm cannot be compared. Later, the message notification was changed, that is, call Screen.Repaint () directly after the VT100 is finished, and the result speed is as fast as Fterm, I really don't know why. That is, when using the original thread, I set the priority of the redrawing thread to the highest. Is the thread support for efficiency?

It is only a bit chaotic after this, which is a way to call Screen in VT100. The two classes should have no relationship, and it does not meet the MVC mode.

转载请注明原文地址:https://www.9cbs.com/read-16785.html

New Post(0)