mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 12:21:19 -03:00
Do not use carriage return in translated strings
darcs-hash:20071028091145-75c98-fc211f29b5c96fa5e10cedd848dabb0a664a34b7.gz
This commit is contained in:
@@ -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 );
|
||||||
|
|||||||
Reference in New Issue
Block a user