mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 06:46:09 +08: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:
parent
22fe8e6a17
commit
92df4a6d91
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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user