mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 12:21:19 -03:00
Make sure M-d erases last character of word. Thanks to DynWind for the report
darcs-hash:20060929214804-ac50b-ffb19242fcbd594fb72016427704cb51cf9d0a22.gz
This commit is contained in:
2
reader.c
2
reader.c
@@ -2072,7 +2072,7 @@ static void move_word( int dir, int erase )
|
||||
whitespace, but do for all other non-alphabetic
|
||||
characters
|
||||
*/
|
||||
if( iswspace( c ) /* && ( abs( end_buff_pos-data->buff_pos ) > 1 ) */)
|
||||
if( iswspace( c ) /* && ( abs( end_buff_pos-data->buff_pos ) > 1 ) */ && (step < 0))
|
||||
end_buff_pos -= step;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user