emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Implementing child frames on terminal


From: Po Lu
Subject: Re: Implementing child frames on terminal
Date: Tue, 12 Jul 2022 17:44:58 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

Akib Azmain Turja <akib@disroot.org> writes:

> Really?  It looks like it would require to modify whole redisplay logic
> to make sure whether a glyph is inside edges and write to it only if it
> is.  That sounds more tedious to me.  However, maybe it's easier to do
> but I don't know how to.

I guess you could allocate the individual rows in the child frame's
desired matrix separately,then copy them to the parent frame's desired
matrix after the results of `display_line' are written to a row of the
child frame's desired matrix, and then skip actual updates on the child
frame entirely (thus eliminating use of its current matrix), relying on
`update_frame' to DTRT on the parent.

But I don't know enough about the frame-based redisplay to tell you
precisely how to do that, or even if it's feasible or not.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]