diff options
| author | krolxon <krolyxon@tutanota.com> | 2024-05-09 00:30:46 +0530 |
|---|---|---|
| committer | krolxon <krolyxon@tutanota.com> | 2024-05-09 00:30:46 +0530 |
| commit | 1187e4f0b5414ccf1d5a84b9ab0284c9cebbb9af (patch) | |
| tree | 00dacce698c05606a51f731e08589d702399863d /src/event | |
| parent | cef5f734780b767301bae6928d106a6d48c8dff8 (diff) | |
remove cli mod, dependent methods
Diffstat (limited to 'src/event')
| -rwxr-xr-x | src/event/handler.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |
