Skip to content

Commit

Permalink
fix: add missing check for whether cursor jump should be enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-berger committed Oct 3, 2024
1 parent 390d93b commit b05842c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/wm/src/common/commands/platform_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ pub fn platform_sync(
state.focused_container().context("No focused container.")?;

if state.pending_sync.cursor_jump {
jump_cursor(focused_container.clone(), state, config)?;
if config.value.general.cursor_jump.enabled {
jump_cursor(focused_container.clone(), state, config)?;
}

state.pending_sync.cursor_jump = false;
}

Expand Down

0 comments on commit b05842c

Please sign in to comment.