Skip to content

Backspace not handled correctly #138

@vegas503

Description

@vegas503

In term library (& fyneterm app as well), hitting backspace produces ^H.

$ stty -a | grep erase
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0;

...seems like the shell is expecting 0x7F, but fyne term is sending ^H (0x08).

I could reproduce this with both local shell (/bin/sh) as well as with connection (reader/writer).

This could be solved by exposing some functions to override special key codes that are emitted by fyne term on user input.

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