Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Duplicate lines show up at startup for *Nushell* #4654

@stevenxxiu

Description

@stevenxxiu

Issue description

At Nushell startup, duplicate lines show up when we scroll up.

To reproduce, set the contents of ~/.config/nushell/config.nu to:

$env.config.show_banner = false

Use an empty Tmux config.

  • Inside Tmux, run ls or another command a few times until the contents exceed the terminal height.
  • Press Ctrl + B, Page Up a few times.
Image

For some reason printing any line in ~/.config/nushell/config.nu avoids the issue:

$env.config.show_banner = false
print ' '

Required information

Please provide the following information. These are required. Note that bug reports without logs may be ignored or closed without comment.

  • tmux version (tmux -V): tmux 3.5a
  • Platform (uname -sp): Arch Linux
  • Terminal in use (xterm, rxvt, etc): Ghostty
  • $TERM inside tmux (echo $TERM): tmux-256color
  • $TERM outside tmux (echo $TERM): xterm-ghostty
  • Logs from tmux (tmux kill-server; tmux -vv new).

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