summaryrefslogtreecommitdiffstats
path: root/src/commands/quit.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/quit.rs')
-rw-r--r--src/commands/quit.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/quit.rs b/src/commands/quit.rs
index 77732d4..bf1132f 100644
--- a/src/commands/quit.rs
+++ b/src/commands/quit.rs
@@ -1,7 +1,7 @@
use crate::commands::{JoshutoCommand, JoshutoRunnable};
use crate::context::JoshutoContext;
use crate::error::{JoshutoError, JoshutoErrorKind, JoshutoResult};
-use crate::window::JoshutoView;
+use crate::ui::TuiBackend;
#[derive(Clone, Debug)]
pub struct Quit;
@@ -36,7 +36,7 @@ impl std::fmt::Display for Quit {
}
impl JoshutoRunnable for Quit {
- fn execute(&self, context: &mut JoshutoContext, _: &JoshutoView) -> JoshutoResult<()> {
+ fn execute(&self, context: &mut JoshutoContext, _: &mut TuiBackend) -> JoshutoResult<()> {
Self::quit(context)
}
}
@@ -72,7 +72,7 @@ impl std::fmt::Display for ForceQuit {
}
impl JoshutoRunnable for ForceQuit {
- fn execute(&self, context: &mut JoshutoContext, _: &JoshutoView) -> JoshutoResult<()> {
+ fn execute(&self, context: &mut JoshutoContext, _: &mut TuiBackend) -> JoshutoResult<()> {
Self::force_quit(context);
Ok(())
}
5f579629b5'>root/l10n/et_EE.php
blob: 2bc53e6202ceda09c92c2e12a36b84acb6966fb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105