mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-29 07:58:01 -04:00
TIOCSWINSZ: fix alignment and spelling
This commit is contained in:
parent
7fb0c4b342
commit
2b3f3711fc
1 changed files with 4 additions and 4 deletions
2
main.c
2
main.c
|
|
@ -447,7 +447,7 @@ resize(struct context *c, int width, int height)
|
||||||
setenv("COLUMNS", cols_s, 1);
|
setenv("COLUMNS", cols_s, 1);
|
||||||
setenv("LINES", rows_s, 1);
|
setenv("LINES", rows_s, 1);
|
||||||
|
|
||||||
/* SIignal TIOCSWINSZ */
|
/* Signal TIOCSWINSZ */
|
||||||
if (ioctl(c->term.ptmx, TIOCSWINSZ,
|
if (ioctl(c->term.ptmx, TIOCSWINSZ,
|
||||||
&(struct winsize){
|
&(struct winsize){
|
||||||
.ws_row = c->term.grid.rows,
|
.ws_row = c->term.grid.rows,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue