Ticket #3390: fix backward word delete in input fields.
commit96699b7ebaffbee6aac0e061fa33c7b129db5ae8
authorAndrew Borodin <aborodin@vmail.ru>
Wed, 21 Jan 2015 07:12:08 +0000 (21 10:12 +0300)
committerAndrew Borodin <aborodin@vmail.ru>
Fri, 20 Feb 2015 06:13:08 +0000 (20 09:13 +0300)
treeb761f137bf30d1512231aa2386a4ee2481a3867b
parentb3b4b4df1d0073fdf97fc3a66ba74f1b9fb49dc5
Ticket #3390: fix backward word delete in input fields.

How to reproduce:
Either on the command line, or in any other text entry field (e.g. copy
file to) enter a string where the last word consists of one single
letter only. E.g. "abc de f".
Press Alt+Backspace.

Expected behavior: Remove the last word, that is, the letter "f" only,
leaving "abc de ".

Actual behavior: Yet another word is removed, leaving "abc ".

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
lib/widget/input.c