From b759c7ec2ac5411f7dd254bb19a20c27a166e7e2 Mon Sep 17 00:00:00 2001 From: Max Verevkin Date: Mon, 4 Apr 2022 16:53:49 +0300 Subject: dont use line buffering when using json protocol --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 1fe335e..48542d9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -28,13 +28,13 @@ mod button_manager; mod color; mod config; mod i3bar_protocol; -mod lines_buffer; mod ord_adaptor; mod pointer_btn; mod river_protocols; mod status_cmd; mod tags; mod text; +mod utils; use button_manager::ButtonManager; use config::Config; @@ -247,7 +247,7 @@ fn main() { readable: true, writable: false, }, - calloop::Mode::Edge, + calloop::Mode::Level, ), move |ready, cmd, _| { info!("status command update"); -- cgit v1.3.1