Opened 10 years ago

Closed 7 years ago

Last modified 7 years ago

#368 closed bug (fixed (in master))

main-gcu should support dynamic resizing

Reported by: takkaria Owned by:
Milestone: 3.1.2 beta Keywords: gcu
Cc:

Description

see how e.g. nano does it.

Change History (4)

comment:1 Changed 9 years ago by morth@…

No patch, but I'll describe it for you.
This is done by waiting for the SIGWINCH signal, then calling ioctl(fd, TIOCGWINSZ, &ws); to get the struct winsize.

comment:2 Changed 8 years ago by magnate

  • Keywords gcu added

comment:3 Changed 7 years ago by d_m

  • Resolution set to fixed
  • Status changed from new to closed

Commit 1652 closes this. However, it's worth noting that neither main-x11 or main-gcu redraws after a resize, so the player usually needs to do something to trigger redrawing, for instance CTRL-R.

I wasn't able to find an obviously good way to do this; for now this patch brings main-gcu up to main-x11 in terms of dynamic resizing ability.

comment:4 Changed 7 years ago by magnate

  • Milestone changed from 3.2.0 to 3.1.2 beta
Note: See TracTickets for help on using tickets.