diff options
Diffstat (limited to 'lispref/frames.texi')
| -rw-r--r-- | lispref/frames.texi | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lispref/frames.texi b/lispref/frames.texi index af03160d992..adae8efe732 100644 --- a/lispref/frames.texi +++ b/lispref/frames.texi | |||
| @@ -1575,9 +1575,15 @@ will specify which terminal to operate on (the default being the | |||
| 1575 | selected frame's terminal; @pxref{Input Focus}). At present, though, | 1575 | selected frame's terminal; @pxref{Input Focus}). At present, though, |
| 1576 | the @var{display} argument has no effect. | 1576 | the @var{display} argument has no effect. |
| 1577 | 1577 | ||
| 1578 | @defun tty-display-color-p &optional display | ||
| 1579 | This function returns non-@code{nil} if the terminal on @var{display} | ||
| 1580 | supports colors. | ||
| 1581 | @end defun | ||
| 1582 | |||
| 1578 | @defun tty-display-color-cells &optional display | 1583 | @defun tty-display-color-cells &optional display |
| 1579 | This function returns the number of distinct colors supported for | 1584 | This function returns the number of distinct colors supported for |
| 1580 | @var{display}. | 1585 | @var{display}. For a monochrome terminal which only supports two |
| 1586 | colors (usually black and white), this function returns zero. | ||
| 1581 | @end defun | 1587 | @end defun |
| 1582 | 1588 | ||
| 1583 | @defun tty-color-define name number &optional rgb display | 1589 | @defun tty-color-define name number &optional rgb display |