mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
Allow any of the panes params to be blank
This commit is contained in:
parent
f5be07823d
commit
03b3edf384
1 changed files with 3 additions and 0 deletions
|
|
@ -42,8 +42,11 @@ pub struct App {
|
||||||
|
|
||||||
#[derive(Deserialize, DeserializeOver2)]
|
#[derive(Deserialize, DeserializeOver2)]
|
||||||
pub struct AppPanes {
|
pub struct AppPanes {
|
||||||
|
#[serde(default)]
|
||||||
pub parent: String,
|
pub parent: String,
|
||||||
|
#[serde(default)]
|
||||||
pub current: String,
|
pub current: String,
|
||||||
|
#[serde(default)]
|
||||||
pub preview: String,
|
pub preview: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue