From dce1ca8e85f26a956344de165d57f1bcb29a67e0 Mon Sep 17 00:00:00 2001 From: Raphael Amorim Date: Sat, 28 Jun 2025 10:42:56 +0200 Subject: [PATCH] send BS (0x08) --- docs/docs/releases.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/docs/releases.md b/docs/docs/releases.md index ebd6890d..380fb370 100644 --- a/docs/docs/releases.md +++ b/docs/docs/releases.md @@ -106,6 +106,15 @@ These changes are particularly beneficial for: - Long-running sessions where cache warming provides sustained performance benefits - Systems with limited memory where reduced allocation overhead improves overall responsiveness +### Bug Fixes + +- **Backspace Key Compatibility**: Fixed backspace key not working properly in vim when `TERM=xterm-256color` + - Changed backspace key bindings to send BS (0x08) instead of DEL (0x7F) + - Updated Rio terminfo and termcap entries to match actual key behavior + - Updated XTGETTCAP response to return `^H` for `kbs` capability + - Ensures compatibility with applications expecting xterm-256color backspace behavior + - Fixes issue where vim would display `^?` instead of performing backspace operation + ## 0.2.20 - Performance: Implemented SIMD-accelerated UTF-8 validation throughout Rio terminal using the `simdutf8` crate. -- 2.51.2