Skip to content

Long input is truncated in rename prompt #279

@ghost

Description

Environment details (Put x in the checkbox along with the information)

[x] Operating System: Arch, GNU/Linux
[x] Desktop Environment:
[x] Terminal Emulator: st
[x] Shell: zsh, sh, bash
[ ] Custom desktop opener (if applicable):
[x] Issue exists on nnn master

Exact steps to reproduce the issue

  1. Open nnn
  2. Rename any entry (^R)
  3. Type in a new name that is longer than the terminal width. Files are correctly renamed to any practical length, but input longer than $COLUMNS is not visible in the prompt. I suggest that the input prompt displays the end of the input string, if it is longer than the terminal width.

nnn rocks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions