akinomyoga / ble.sh

Bash Line Editor―a line editor written in pure Bash with syntax highlighting, auto suggestions, vim modes, etc. for Bash interactive sessions.
BSD 3-Clause "New" or "Revised" License
2.33k stars 77 forks source link

highlighted text no longer deleted #409

Closed cmndrsp0ck closed 4 months ago

cmndrsp0ck commented 4 months ago

I used to be able to highlight text and either delete or start typing to replace the text. Now when I highlight text and hit delete or start typing only the character under the cursor is removed or typing is started at that point. Is there a new config option I need to adjust to get that previous functionality back?

currently using: v0.4.0-devel3

akinomyoga commented 4 months ago

Thank you for the report. Ah, this is a bug. I recently changed the way that the selection by Shift works in commit 2cac11adc4eb39d66213c66e9faeac055d8e3df4, which introduced the bug. I'll fix it.

akinomyoga commented 4 months ago

I pushed a fix 98a2ae1580717e82baafff53f81df60d45aafc89. Could you update ble.sh by running ble-update and check if the behavior is fine now?

cmndrsp0ck commented 4 months ago

It's working now. Thank you!

akinomyoga commented 4 months ago

Thank you for the confirmation! Closing.