Add more documentation for TTY child frames

* doc/lispref/frames.texi (Child Frames): Document that TTY
child frames are now supported.
* etc/NEWS: Document another limitation of TTY child frames.
This commit is contained in:
Robert Pluim 2024-12-19 16:17:16 +01:00
parent d8e8e1d5ed
commit c19dd8e9d6
2 changed files with 7 additions and 4 deletions

View file

@ -3393,8 +3393,8 @@ of its sibling child frames.
By design, operations to make or modify child frames are implemented
with the help of frame parameters (@pxref{Frame Parameters}) without any
specialized functions or customizable variables. Note that child frames
are meaningful on graphical terminals only.
specialized functions or customizable variables. Child frames
are meaningful on graphical and text terminals.
To create a new child frame or to convert a normal frame into a child
frame, set that frame's @code{parent-frame} parameter (@pxref{Frame

View file

@ -47,8 +47,11 @@ enabled, you can disable mouse tracking by putting '(xterm-mouse-mode
** Child frames are now supported on TTY frames.
This supports use-cases like Posframe, Corfu, and child frames acting
like tooltips. Other use-cases of child frames are not supported yet.
In particular, trying to create minibuffer-only child frames on a TTY
frame will signal an error.
In particular:
- trying to create minibuffer-only child frames on a TTY frame will
signal an error.
- a TTY child frame cannot be converted to a root frame or vice-versa.
To enable tooltips on TTY frames, call 'tty-tip-mode'.