We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c6d712 commit 96f79e4Copy full SHA for 96f79e4
1 file changed
src/ui/mod.rs
@@ -13,7 +13,6 @@ mod table;
13
static NO_INPUT: AtomicBool = AtomicBool::new(false);
14
static QUIET: AtomicBool = AtomicBool::new(false);
15
static ANIMATIONS_ENABLED: AtomicBool = AtomicBool::new(true);
16
-static NO_INPUT: AtomicBool = AtomicBool::new(false);
17
18
pub fn set_no_input(val: bool) {
19
NO_INPUT.store(val, Ordering::Relaxed);
@@ -35,10 +34,6 @@ pub fn animations_enabled() -> bool {
35
34
ANIMATIONS_ENABLED.load(Ordering::Relaxed)
36
}
37
38
-pub fn set_no_input(val: bool) {
39
- NO_INPUT.store(val, Ordering::Relaxed);
40
-}
41
-
42
pub fn prompt_term() -> Option<Term> {
43
if NO_INPUT.load(Ordering::Relaxed) {
44
return None;
0 commit comments