1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-24 22:01:47 +03:00

term: fix longstanding bug with imagecat

Sometimes, I'd notice that imgcat would have a weird aspect.
I stumbled across the root cause while debugging something else:
the order of the pixel width and height was flipped here.
This commit is contained in:
Wez Furlong 2020-12-26 13:58:08 -08:00
parent fd533a6944
commit 8649056ac0

View File

@ -75,8 +75,8 @@ impl Terminal {
state: TerminalState::new( state: TerminalState::new(
physical_rows, physical_rows,
physical_cols, physical_cols,
pixel_height,
pixel_width, pixel_width,
pixel_height,
config, config,
term_program, term_program,
term_version, term_version,