mirror of
https://github.com/wez/wezterm.git
synced 2024-12-23 13:21:38 +03:00
Fix quoting of style field in ls-fonts
refs: https://github.com/wez/wezterm/issues/1762
This commit is contained in:
parent
185f52efaf
commit
e500c9c5c0
@ -17,6 +17,7 @@ As features stabilize some brief notes about them will accumulate here.
|
|||||||
#### Fixed
|
#### Fixed
|
||||||
* Incorrect csi-u encoding with non-ascii characters. [#1746](https://github.com/wez/wezterm/issues/1746)
|
* 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)
|
* 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
|
### 20220319-142410-0fcdea07
|
||||||
|
|
||||||
|
@ -151,7 +151,7 @@ impl ParsedFont {
|
|||||||
|
|
||||||
pub fn lua_name(&self) -> String {
|
pub fn lua_name(&self) -> String {
|
||||||
format!(
|
format!(
|
||||||
"wezterm.font(\"{}\", {{weight={}, stretch=\"{}\", style={}}})",
|
"wezterm.font(\"{}\", {{weight={}, stretch=\"{}\", style=\"{}\"}})",
|
||||||
self.names.family, self.weight, self.stretch, self.style
|
self.names.family, self.weight, self.stretch, self.style
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user