Let the 's' command delete the right number of bytes when UTF-8
authorschwarze <schwarze@openbsd.org>
Wed, 31 May 2017 20:18:43 +0000 (20:18 +0000)
committerschwarze <schwarze@openbsd.org>
Wed, 31 May 2017 20:18:43 +0000 (20:18 +0000)
commit79d93e25bb09deb9df812ad69b7aeefc489a1c01
tree53149dfd2f808ee63b421fdde6cdb548f9e9d6cb
parent8758b02645a8a78875e98f8ef77c546ab9740425
Let the 's' command delete the right number of bytes when UTF-8
characters are involved; similar to what anton@ previously did for 'r';
OK tb@ anton@;
also tested by Walter Alejandro Iglesias <wai at roquesor dot com>.
bin/ksh/vi.c