[vim/vim] Fix behavior when pressing backspace in ConPTY on Windows (PR #19065)

5 views
Skip to first unread message

MURAOKA Taro

unread,
Jan 2, 2026, 10:12:20 AM (4 days ago) Jan 2
to vim/vim, Subscribed

Problem: Pressing backspace in ConPTY on Windows deletes an entire word, not just a single character. This is the same as pressing Alt + backspace in cmd.exe.

Solution: When using ConPTY on Windows, the VTERM_KEY_BACKSPACE key is now sent when the Backspace key or Ctrl+H is detected.

Historically, Windows has assigned the code 0x7F (DEL) to backspace, and it seems necessary to follow that behavior when using ConPTY.


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/19065

Commit Summary

  • 8e8c6cd Fix behavior when pressing backspace in ConPTY on Windows

File Changes

(2 files)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19065@github.com>

Christian Brabandt

unread,
Jan 3, 2026, 12:09:45 PM (3 days ago) Jan 3
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#19065)

thanks


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19065/c3707210269@github.com>

Christian Brabandt

unread,
Jan 3, 2026, 12:09:57 PM (3 days ago) Jan 3
to vim/vim, Subscribed

Closed #19065 via 997952a.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19065/issue_event/21837037687@github.com>

Reply all
Reply to author
Forward
0 new messages