Skip to content

[Bug]: Arrow key navigation unresponsive after switching SSH host via F2 manager (requires Esc to recover) #70

Description

@fethomm

System

Linux

Architecture

amd64

OS version

Debian Sid

Installation method

  • Binary
  • Package manager
  • Docker container
  • Source code

Description

After switching between SSH hosts using the F2 host manager, arrow key navigation in the main interface stops responding. Pressing Esc once restores navigation, but this has to be repeated after every host switch.

Steps to reproduce:

Start lazyjournal with an SSH connection, e.g. lazyjournal --ssh "root@hostA"
Configure at least one additional host in config.yml:

yaml
ssh:
hosts:
- root@hostA
- root@hostB
Press F2 to open the SSH host manager
Use arrow keys to select a different host (e.g. hostB)
Press Enter to switch to that host
Try navigating the main interface with arrow keys
Expected behavior:

Arrow keys should work immediately after the host switch completes.

Actual behavior:

Arrow keys have no effect until Esc is pressed once. After that, navigation works normally again — until the next host switch, which reproduces the same issue.

Environment:

lazyjournal version: 0.8.6
OS: Debian Sid, Plasma Desktop 6.7.2
Terminal: reproduced identically in both Konsole and Ptyxis
SSH backend: Tailscale SSH

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions