From 1187e4f0b5414ccf1d5a84b9ab0284c9cebbb9af Mon Sep 17 00:00:00 2001 From: krolxon Date: Thu, 9 May 2024 00:30:46 +0530 Subject: remove cli mod, dependent methods --- src/event/handler.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/event/handler.rs') diff --git a/src/event/handler.rs b/src/event/handler.rs index 0978458..3663006 100755 --- a/src/event/handler.rs +++ b/src/event/handler.rs @@ -177,7 +177,7 @@ pub fn handle_key_events(key_event: KeyEvent, app: &mut App) -> AppResult<()> { app.queue_list.index as u32 } else { app.queue_list.index += 1; - (current + 1) as u32 + current + 1 }; app.conn.conn.swap(current, next)?; app.update_queue(); @@ -190,7 +190,7 @@ pub fn handle_key_events(key_event: KeyEvent, app: &mut App) -> AppResult<()> { app.queue_list.index as u32 } else { app.queue_list.index -= 1; - (current - 1) as u32 + current - 1 }; app.conn.conn.swap(current, prev)?; app.update_queue(); -- cgit v1.2.3