1
1
mirror of https://github.com/wez/wezterm.git synced 2024-09-20 11:17:15 +03:00

Fix quoting of style field in ls-fonts

refs: https://github.com/wez/wezterm/issues/1762
This commit is contained in:
Wez Furlong 2022-03-24 18:05:15 -07:00
parent 185f52efaf
commit e500c9c5c0
2 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,7 @@ As features stabilize some brief notes about them will accumulate here.
#### Fixed
* Incorrect csi-u encoding with non-ascii characters. [#1746](https://github.com/wez/wezterm/issues/1746)
* X11 `_NET_WM_ICON` had red/blue channels swapped [#1754](https://github.com/wez/wezterm/issues/1754)
* ls-fonts output didn't quote the `style` field [#1762](https://github.com/wez/wezterm/issues/1762)
### 20220319-142410-0fcdea07

View File

@ -151,7 +151,7 @@ impl ParsedFont {
pub fn lua_name(&self) -> String {
format!(
"wezterm.font(\"{}\", {{weight={}, stretch=\"{}\", style={}}})",
"wezterm.font(\"{}\", {{weight={}, stretch=\"{}\", style=\"{}\"}})",
self.names.family, self.weight, self.stretch, self.style
)
}