Skip to content

[BUG]: v1.6.0 #898

Closed
Closed

Description

@graphixillusion

I've just tried the 1.6.0 but i get a neverending loop of a new line: i've tried on a rapsberry via ssh and i need to force close the ssh session becouse it's unusable. reverted back to 1.5.0

Activity

  1. dgrah50 commented on Aug 10, 2026

    @dgrah50

    I can reproduce this locally on Apple Silicon macOS, so it is not limited to Raspberry Pi, Linux, or SSH.

    Environment

    • macOS 26.2 (25C56)
    • Apple M1 Pro, arm64
    • Homebrew Bash 5.3.15:
      GNU bash, version 5.3.15(1)-release (aarch64-apple-darwin25.4.0)
    • Flyline 1.6.0, aarch64-apple-darwin release
    • Reproduced in Apple Terminal and Ghostty 1.3.1
    • No tmux
    • No Inshellisense or ble.sh

    Minimal reproduction

    1. Start a completely clean Bash session:

      /opt/homebrew/bin/bash --noprofile --norc
    2. Load Flyline 1.6.0 directly:

      enable -f "$HOME/.local/lib/libflyline.dylib.1.6.0" flyline
    3. Start the tutorial:

      flyline run-tutorial
    4. Interact with the tutorial normally. The second time the pointer enters the Next button's hover area, the terminal begins repeatedly printing/redrawing lines.

    I initially also saw repeated printing when typing one character caused the completion UI to open. The tutorial hover is the most deterministic reproduction I found.

    Downgrading to Flyline 1.5.0 with the same Bash and terminal configuration appears to resolve the problem. I have not reproduced it on 1.5.0 so far.

    Because this reproduces with --noprofile --norc, it does not appear to be caused by PS1, PROMPT_COMMAND, shell startup files, or another line editor. The leaked bash-5.3$ suggests Flyline may be losing or recreating its inline viewport while Bash renders its underlying prompt.

    Given the 1.6.0 changes, this may be related to the recent inline viewport or mouse-position work, although I have not bisected the commits.

  2. HalFrgrd commented on Aug 10, 2026

    @HalFrgrd
    Owner

    Thanks for the issue report! I was able to reproduce it and it was related to the inline viewport changes. I disabled autowrapping in ratatui and that seems to have solved this problem.
    There is still a small bug in the visuals when running tutorial but nothing major for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions