Pilates
    Preparing search index...

    Function useWindowSize

    • Convenience hook returning just the terminal dimensions. Re-renders on SIGWINCH (stdout.emit('resize')). Equivalent to picking { columns, rows } off useStdout(); offered for parity with the useWindowSize name peer libraries use.

      Returns { columns: number; rows: number }