Skip to content

Commit 96f79e4

Browse files
committed
fix: dedupe no-input ui state after rebase
1 parent 0c6d712 commit 96f79e4

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/ui/mod.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ mod table;
1313
static NO_INPUT: AtomicBool = AtomicBool::new(false);
1414
static QUIET: AtomicBool = AtomicBool::new(false);
1515
static ANIMATIONS_ENABLED: AtomicBool = AtomicBool::new(true);
16-
static NO_INPUT: AtomicBool = AtomicBool::new(false);
1716

1817
pub fn set_no_input(val: bool) {
1918
NO_INPUT.store(val, Ordering::Relaxed);
@@ -35,10 +34,6 @@ pub fn animations_enabled() -> bool {
3534
ANIMATIONS_ENABLED.load(Ordering::Relaxed)
3635
}
3736

38-
pub fn set_no_input(val: bool) {
39-
NO_INPUT.store(val, Ordering::Relaxed);
40-
}
41-
4237
pub fn prompt_term() -> Option<Term> {
4338
if NO_INPUT.load(Ordering::Relaxed) {
4439
return None;

0 commit comments

Comments
 (0)