Skip to content

Terminal loses backspace functionality with AOSP-based keyboards (HeliBoard, Fossify) during history navigation and zsh autocomplete #2549

Description

@mrgoldenboyy

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

When using the built-in terminal, pressing the backspace/delete key becomes completely unresponsive after navigating command history (via arrow keys) or accepting/cycling zsh autocompletions. The cursor gets stuck, and text cannot be deleted unless the terminal session is cleared or reset.

Environment / Test Results

I tested this bug across 10 different Android keyboards under the exact same conditions (Acode built-in terminal with zsh autocomplete & history navigation):

Keyboard Issue Occurs?
HeliBoard YES
Fossify Keyboard YES
Samsung Keyboard No
Gboard No
SwiftKey No
Yandex Keyboard No
FlorisBoard No
Simple Keyboard No
Unexpected Keyboard No
AnySoftKeyboard No

Steps to Reproduce

  1. Open Acode's built-in terminal (using HeliBoard or Fossify Keyboard).
  2. Type a command or run a interactive shell with zsh.
  3. Use arrow keys to travel back in command history OR trigger/cycle through a zsh inline autocomplete suggestion.
  4. Attempt to press Backspace to delete or edit the recalled command.
  5. Result: The cursor gets stuck and backspace does nothing.

Finally

The terminal should intercept or properly handle soft-keyboard delete events (or sync the InputConnection text buffer state) so that backspace continues working seamlessly during zsh autocomplete and history traversal in bash, similar to Termux's terminal bridge.

Environment

Device Information:
WebView Info:
Package Name: com.android.chrome
Version: 138.0.7204.180

App Info:
Name: Acode
Package Name: com.foxdebug.acode
Version: 1.12.6-nightly.7c68ddd
Version Code: 1001

Device Info:
Android Version: 9
Manufacturer: samsung
Model: SM-J415G
Platform: Android
Cordova Version: 15.0.0

Screen Info:
Width: 412
Height: 846
Color Depth: 24

Additional Info:
Language: en-US
User Agent: Mozilla/5.0 (Linux; Android 9; SM-J415G Build/PPR1.180610.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/138.0.7204.180 Mobile Safari/537.36

If applicable, add mockups / screenshots regarding your vision

No response

If applicable, attach your Acode.log file to this issue.

Acode.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions