commit 8763621da5efd923efc20ab22191d07a13da7e11
parent 7498196ec7e8891d6f3e307f23bcfcc335f79264
Author: William Casarin <jb55@jb55.com>
Date: Thu, 20 Nov 2025 07:26:02 -0800
nav: make the active column the one that is navigating
This enable key bindings for different columns
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/crates/notedeck_columns/src/nav.rs b/crates/notedeck_columns/src/nav.rs
@@ -328,6 +328,11 @@ fn process_nav_resp(
NavAction::Returning(_) => {}
NavAction::Resetting => {}
NavAction::Navigating => {
+ // since we are navigating, we should set this column as
+ // the selected one
+ app.columns_mut(ctx.i18n, ctx.accounts)
+ .select_column(col as i32);
+
handle_navigating_edit_profile(ctx.ndb, ctx.accounts, app, col);
handle_navigating_timeline(
ctx.ndb,