termux/termux-app

Weird rendering when using specific shell theme and then recalling command history with long commands

Open

#1.860 geöffnet am 26. Dez. 2020

Auf GitHub ansehen
 (6 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (6.572 Forks)batch import
help wanted

Repository-Metriken

Stars
 (54.915 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 23T 1h) (1 gemergte PR in 30 T)

Beschreibung

Problem description

When recalling command history, if encountered long commands, the rendering behaves weird.

Shell: fish 3.1.2 Using oh-my-fish with bobthefish theme

Ascinema recording that contains the problematic sequences Screen recording of asciinema replaying the above cast in Termux

Steps to reproduce

  1. pkg install fish
  2. Install oh-my-fish.
  3. Use omf theme bobthefish to switch theme.
  4. Type a long enough command that exceeds the maximum width and wraps.
  5. Press up to recall and observe weird behaviors, for example, characters disappearing, or the whole line moving backwards for one character.

Expected behavior

Termux should render just like how the above asciinema recording renders on the website.

Additional information

  • Termux application version: 0.103
  • Android OS version: 10 (LineageOS 17.1)
  • Device model: Sony Xperia XZ1

Contributor Guide