graze / graze/console-diff-renderer

Detect terminal resize

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
5
Forks
8
PR merge metrics
No merged PRs in 30d

Description

when the terminal changes size

a SIGWINCH message is sent to the application.
handle this, and query stty/whatever to get the size of the terminal.

- Strip out the size from the `Terminal` class in symfony.
- have a refresh command to force a new size.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.