mirror of
https://github.com/wez/wezterm.git
synced 2024-11-27 02:25:28 +03:00
f7f253ec28
Allows specifying the precise dpi to use on a per-screen basis: ```lua return { dpi_by_screen = { ["Built-in Retina Display"] = 144, }, } ``` The screen names are the same as those returned from `wezterm.gui.screens()`. Changing either `dpi` or `dpi_by_screen` in the config will now cause the window to be immediately resized/adjusted to the changed dpi override. Ultimately, I'd like to deprecate `dpi` in favor of `dpi_by_screen`, but can't do that until this functionality is ported to windows, x11 and wayland. refs: #4096 |
||
---|---|---|
.. | ||
derive | ||
src | ||
Cargo.toml |