mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-28 09:31:16 -03:00
Some initial work on removing buffer_t from io_data_t
This commit is contained in:
@@ -1174,7 +1174,7 @@ static void run_pager( wchar_t *prefix, int is_quoted, const std::vector<complet
|
||||
free( escaped_separator );
|
||||
|
||||
foo = wcs2str(msg.c_str());
|
||||
b_append( in->param2.out_buffer, foo, strlen(foo) );
|
||||
b_append( in->out_buffer, foo, strlen(foo) );
|
||||
free( foo );
|
||||
|
||||
term_donate();
|
||||
@@ -1190,10 +1190,10 @@ static void run_pager( wchar_t *prefix, int is_quoted, const std::vector<complet
|
||||
io_buffer_read( out );
|
||||
|
||||
int nil=0;
|
||||
b_append( out->param2.out_buffer, &nil, 1 );
|
||||
b_append( out->out_buffer, &nil, 1 );
|
||||
|
||||
wchar_t *tmp;
|
||||
wchar_t *str = str2wcs((char *)out->param2.out_buffer->buff);
|
||||
wchar_t *str = str2wcs((char *)out->out_buffer->buff);
|
||||
|
||||
if( str )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user