summaryrefslogtreecommitdiffstats
path: root/src/window
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2019-07-19 21:33:08 -0400
committerJiayi Zhao <jeff.no.zhao@gmail.com>2019-07-19 22:18:23 -0400
commit0b8747eb37d6d943d90e15ed82858d99d1800425 (patch)
tree6cb910dc37343000296c2951e0f67ff269ee3efd /src/window
parent98e9665e59d7af0b2c002f0e6007578b3e90aa69 (diff)
changed how commands are handled
- arguments no longer go through wordexp (still working on a good alternative) other changes: - changed update_contents to reload_contents - opening files with mimetype entries are now moved from unix.rs to mimetypes.rs
Diffstat (limited to 'src/window')
-rw-r--r--src/window/view.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/window/view.rs b/src/window/view.rs
index 77a63b2..947837c 100644
--- a/src/window/view.rs
+++ b/src/window/view.rs
@@ -10,6 +10,7 @@ pub struct JoshutoView {
pub right_win: JoshutoPanel,
pub bot_win: JoshutoPanel,
pub win_ratio: (usize, usize, usize),
+ pub collapsed: bool,
}
impl JoshutoView {
@@ -65,6 +66,7 @@ impl JoshutoView {
right_win,
bot_win,
win_ratio,
+ collapsed: false,
}
}