Commit 52b84df8 authored by Niels Möller's avatar Niels Möller
Browse files

(tty_setwinsize): Rows and columns were mixed up.


Rev: src/tty.c:1.13
parent 6df60661
......@@ -73,8 +73,8 @@ tty_setwinsize(int fd, const struct terminal_dimensions *dims)
struct winsize ws;
ws.ws_row = dims->char_width;
ws.ws_col = dims->char_height;
ws.ws_row = dims->char_height;
ws.ws_col = dims->char_width;
ws.ws_xpixel = dims->pixel_width;
ws.ws_ypixel = dims->pixel_height;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment