Skip to content

Commit

Permalink
edit (ble/widget/kill-forward-logical-line): fix undeleted newlines a…
Browse files Browse the repository at this point in the history
…t EOL
  • Loading branch information
akinomyoga committed Jul 9, 2022
1 parent 5e73cf6 commit 03787a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ble-edit.sh
Expand Up @@ -3586,7 +3586,7 @@ function ble/widget/kill-forward-logical-line {
else
local ret; ble-edit/content/find-logical-eol
# 行末にいるとき無引数で呼び出すと、直後の改行を削除
((ret<${#_ble_edit_ind}&&_ble_edit_ind==ret&&ret++))
((ret<${#_ble_edit_str}&&_ble_edit_ind==ret&&ret++))
fi
ble/widget/.kill-range "$_ble_edit_ind" "$ret"
}
Expand Down

0 comments on commit 03787a2

Please sign in to comment.