CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2025/04/21 14:06:15
Modified files:
bin/ksh : vi.c
regress/bin/ksh/edit: vi.sh
Log message:
Fix UTF-8 handling in the "paste after" (p) command in VI editing mode.
This patch makes sure that "p" does not insert anything into the middle
of any UTF-8 sequence and that the cursor is afterwards put onto the
first byte of the last character inserted.
Feature gap reported by Walter Alejandro Iglesias <wai at roquesor dot com>.
OK anton@, and deraadt@ says he is not afraid of binary growth