Function: tty--output-buffer-size
tty--output-buffer-size is a function defined in term.c.
Signature
(tty--output-buffer-size &optional TTY)
Documentation
Return the output buffer size of TTY.
TTY may be a terminal object, a frame, or nil (meaning the selected frame's terminal).
A value of zero means TTY uses the system's default value.
Probably introduced at or before Emacs version 29.1.
Source Code
// Defined in /usr/src/emacs/src/term.c
{
struct terminal *terminal = decode_tty_terminal (tty);
if (terminal)
return make_fixnum (terminal->display_info.tty->output_buffer_size);
error ("Not a tty terminal");
}