pty_resize(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pty_resize(9) πŸ’…

okay so bestie, welcome to the pty_resize(9) page from the Kernel API Manual β€” it's giving kernel-level resize realness, and yes, we're gonna read it together πŸ’–


🌸 NAME 🌸

pty_resize β€” resize event. That's the whole vibe: it's the resize event, periodt.

✨ SYNOPSIS ✨

int pty_resize (struct tty_struct *tty , struct winsize *ws );

πŸŽ€ ARGUMENTS πŸŽ€

  • tty β€” the tty that's being resized 🫢
  • ws β€” the window size that's being set ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea: pty_resize updates the termios variables and sends the necessary signals so a terminal resize happens correctly. That's it, that's the whole slay. No cap, it's literally making the resize behave πŸ’…

πŸ’– SEE ALSO πŸ’–


source/version: ./drivers/tty Β· date: October 2026 β€” bye bestie, go resize something cute πŸ’–βœ¨

πŸ“¦ where this page comes from