tulir / mauview

A Go TUI library based on tcell.
Mozilla Public License 2.0
48 stars 7 forks source link

backspace now only removes the previous character #3

Closed wesleyParriott closed 2 years ago

wesleyParriott commented 4 years ago

referenced in https://github.com/tulir/mauview/issues/2

tulir commented 4 years ago

At least libvte-based terminals emit KeyBackspace for ctrl+backspace and KeyBackspace2 for just backspace. Maybe some other terminals work differently, not sure how to handle that without losing the ctrl+backspace feature.

wesleyParriott commented 4 years ago

What about making it configurable?

tulir commented 2 years ago

Made configurable in https://github.com/tulir/mauview/commit/7a31466f172ea5eae16d20bd88bd153609933997