mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
Do not use carriage return in translated strings
darcs-hash:20071028091145-75c98-fc211f29b5c96fa5e10cedd848dabb0a664a34b7.gz
This commit is contained in:
parent
a5156c54cb
commit
3f3fe634c8
1 changed files with 4 additions and 1 deletions
|
@ -708,11 +708,14 @@ static int completion_try_print( int cols,
|
||||||
set_color( FISH_COLOR_BLACK,
|
set_color( FISH_COLOR_BLACK,
|
||||||
get_color(HIGHLIGHT_PAGER_PROGRESS) );
|
get_color(HIGHLIGHT_PAGER_PROGRESS) );
|
||||||
sb_printf( &msg,
|
sb_printf( &msg,
|
||||||
_(L" %d to %d of %d \r"),
|
_(L" %d to %d of %d"),
|
||||||
pos,
|
pos,
|
||||||
pos+termsize.ws_row-1,
|
pos+termsize.ws_row-1,
|
||||||
rows );
|
rows );
|
||||||
|
|
||||||
|
sb_printf( &msg,
|
||||||
|
L" \r" );
|
||||||
|
|
||||||
writestr((wchar_t *)msg.buff);
|
writestr((wchar_t *)msg.buff);
|
||||||
sb_destroy( &msg );
|
sb_destroy( &msg );
|
||||||
set_color( FISH_COLOR_NORMAL, FISH_COLOR_NORMAL );
|
set_color( FISH_COLOR_NORMAL, FISH_COLOR_NORMAL );
|
||||||
|
|
Loading…
Reference in a new issue