Replace deprecated ATOMIC_BOOL_INIT
help: use of deprecated item 'std::sync::atomic::ATOMIC_BOOL_INIT': the `new` function is now preferred
@@ -437,7 +437,7 @@ impl Renderer for ConsoleRenderer {
}
}
-static SIGWINCH: atomic::AtomicBool = atomic::ATOMIC_BOOL_INIT;
+static SIGWINCH: atomic::AtomicBool = atomic::AtomicBool::new(false);
#[cfg(not(test))]
pub type Terminal = Console;
