Skip to content

backspace does not backspace on MacOS #20

@islonely

Description

@islonely

Pressing backspace button on MacOS replaces the last character with invalid character instead of removing character. Here is what happens when running examples/demo/ and pressing backspace.

Before and after pressing backspace:

Image

Image

V Doctor:

V full version V 0.4.9 4225a34.f9d3bd3
OS macos, macOS, 15.2, 24C101
Processor 8 cpus, 64bit, little endian, Apple M3
Memory 2.1GB/16GB
V executable /Users/adamoates/v/v
V last modified time 2025-01-19 21:19:31
V home dir OK, value: /Users/adamoates/v
VMODULES OK, value: /Users/adamoates/.vmodules
VTMP OK, value: /tmp/v_501
Current working dir OK, value: /Users/adamoates
Git version git version 2.39.5 (Apple Git-154)
V git status weekly.2025.03-5-gf9d3bd39
.git/config present true
cc version Apple clang version 16.0.0 (clang-1600.0.26.6)
gcc version Apple clang version 16.0.0 (clang-1600.0.26.6)
clang version Apple clang version 16.0.0 (clang-1600.0.26.6)
tcc version tcc version 0.9.28rc 2024-02-05 HEAD@105d70f7 (AArch64 Darwin)
tcc git status thirdparty-macos-arm64 713692d4
emcc version N/A
glibc version N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions