From 96ffe8680b7e4b55005933b3ba9be389d8a8cd20 Mon Sep 17 00:00:00 2001 From: Arijit Basu Date: Wed, 10 Apr 2024 12:38:54 +0530 Subject: [PATCH] Fix ScrollUpHalf --- src/runner.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runner.rs b/src/runner.rs index 4b80274..d4583a8 100644 --- a/src/runner.rs +++ b/src/runner.rs @@ -411,7 +411,7 @@ impl Runner { } ScrollUpHalf => { - app = app.focus_next_by_relative_index( + app = app.focus_previous_by_relative_index( terminal.size()?.height as usize / 2, )?; }