Note to the list: I have already replied to Sergei's email in a private message last week.

Question about the terminal. Can't understand why use two variables,
term->frontbuf and term->backbuf.

The front buffer contains the characters with their proper attributes as they should be drawn on the screen with the next update. The back buffer contains essentially the same data, plus the cursor (which is created by inverting the foreground and background color of the character at the cursor coordinates) as they are presently drawn on the screen.

The two buffers are used to optimize redrawing. See term_update() and term_update_scroll(). Only those characters/attributes that actually change at specific screen locations are physically redrawn.

Now working on the ability to change the size of the terminal.

Great. Looking forward to that.


M.D.

_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel

Reply via email to