From: Ethan A M. <me...@uw...> - 2025-05-11 04:31:08
|
On Sat, May 10, 2025 at 2:07 AM Jeremy Nicoll - ml gnuplot < jn....@wi...> wrote: > > If the state vars are only used by the enhanced mode then maybe you could > sometimes initialise the terminal twice? That is, first always initialise > the enhanced routine (to do the font stuff etc), then as if that had not > been done (but only if noenhanced was set initially) initialise the > plain text routine? Would that leave plain-text in effect exactly as it > works > now, but mean that temporary switches into enhanced would work? > -- > Jeremy Nicoll - my opinions are my own > Yes, making sure that enhanced text fonts are always set up is certainly possible. Every terminal driver would have to be audited and possibly modified. But they'd have to be modified anyhow if they are supposed to somehow detect that a switch to one text routine from another is needed. I'm not arguing against the proposed feature. It's a perfectly reasonable thing to propose. I'm just pointing out that implementing it would take more than a simple change to a couple of places in the core code. The change would extend into every terminal driver, which is a pain. Ethan |