[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [NonGNU ELPA] New packages: corfu-doc and corfu-doc-terminal
From: |
Akib Azmain Turja |
Subject: |
Re: [NonGNU ELPA] New packages: corfu-doc and corfu-doc-terminal |
Date: |
Sun, 29 May 2022 02:40:07 +0600 |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Akib Azmain Turja <akib@disroot.org>
>> Cc: emacs-devel@gnu.org, Yuwei Tian <ibluefocus@outlook.com>
>> Date: Sat, 28 May 2022 22:30:46 +0600
>>
>> I think the best solution will be to implement child frames in terminal.
>> AFAIK, ncurses has a concept of floating window, which we can use to
>> render the frame.
>
> The difficulty in implementing child frames on TTY are not because
> Emacs cannot draw on TTY at arbitrary coordinates, it's because there
> are fundamental design principles on which TTY display is based. I'd
> actually recommend to implement child frames on TTY as a special kind
> of window that is free of the "normal" window geometry restrictions.
I can't understand. Emacs uses ncurses, and ncurses uses a single type
for both root window (the ncurses window covering the whole terminal; I
can't remember the name ncurses uses for this) and other windows. Does
Emacs assume while render a frame that its drawing on the root window or
is it impossible to tell ncurses precisely which window to draw above?
--
Akib Azmain Turja
This message is signed by me with my GnuPG key. It's fingerprint is:
7001 8CE5 819F 17A3 BBA6 66AF E74F 0EFA 922A E7F5
signature.asc
Description: PGP signature
Re: [NonGNU ELPA] New packages: corfu-doc and corfu-doc-terminal, Stefan Monnier, 2022/05/28
Re: [NonGNU ELPA] New packages: corfu-doc and corfu-doc-terminal, Akib Azmain Turja, 2022/05/28