I am not sure and just trying to figure out why is this happening. Only if
the prompt is colored (for example libssh2_channel_request_pty() "xterm" or
"ansi") so there are some escape codes.
On 29.03.2015 14:30 "Daniel Stenberg" <daniel_at_haxx.se> wrote:
> On Sun, 29 Mar 2015, meneldor wrote:
>
> I stuck on a problem where when im reading the remote shell, if its
>> colored, i receive the prompts several times. Is that related to the window
>> size which is not properly calculated because of the not printable escape
>> codes? Can i use any of the libssh2_channel_window_* functions to solve
>> this problem?
>>
>
> Very unlikely I'd say. The windows functions are about flow control on
> individual SSH channels, I don't see how they would make anything with
> escape codes different.
>
> --
>
> / daniel.haxx.se
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
>
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2015-03-29