Skip to content

Cursor jumps on :reload-all #4884

Closed
@michaelst0

Description

@michaelst0

Summary

When I do :reload-all, the content of the window jump. Sometimes the cursor is positioned at the top of what looks like a blank buffer, but scrolling up reveals the contents of the file.

Note that the file I'm looking at has not changed.

Reproduction Steps

I tried this:

  1. hx
  2. Open some file
  3. Do :reload-all

I expected this to happen:

Contents to be reloaded from disk. Cursor remains in current position.

Instead, this happened:

Contents reloaded from disk. Cursor jumps to random(?) position.

Helix log

~/.cache/helix/helix.log
please provide a copy of `~/.cache/helix/helix.log` here if possible, you may need to redact some of the lines

Platform

macOS

Terminal Emulator

kitty

Helix Version

helix 22.08.1 (e6dad96)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-helix-termArea: Helix term improvementsC-bugCategory: This is a bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions