Skip to content

Terminal Emulator: Tab autofill works wrong after Backspace Up swipe #14049

Description

@mergen3107

Device

Kindle

KOReader version

v2025.04-154-ge0c853065

Model and firmware version

Kindle Paperwhite 6 (5.17.1.0.4)

Issue description

After using a swipe (Backspace Up) to delete whole words until a whitespace, autofilling of the path using Tab key of the emulator makes a duplicate.

Steps to reproduce

  1. Open a Terminal Emulator session
  2. Type ls /mnt/us/kor (or any other path)
  3. Hit the Tab Button (top left button above the keyboard)
  4. It will fillout to ls /mnt/us/koreader and command will work after hitting Enter.
  5. Now use Arrow Up button above the keyboard to retrieve the command you just executed.
  6. ls /mnt/ls/koreader will show up.
  7. Swipe up on the Backspace key on the keyboard. Now it is ls .
  8. Add a part of the path to make it ls /mnt/us/doc
  9. Hit Tab
  10. Now you will witness that instead of ls /mnt/us/documents it is now showing ls /mnt/us/documents /mnt/us/koreader.
  11. Hitting enter will work just fine with this command (ls will show both results), but the expected result was just ls /mnt/us/documents.

Log

crash_term_emu_basckspace_up_1.txt

Additional information

Easy to reproduce on my device. Let me know if I can provide more information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions