mirror of https://github.com/adamdruppe/arsd.git
pain
This commit is contained in:
parent
39627cc5bd
commit
42a8876a04
|
@ -4881,7 +4881,10 @@ private uint /* TerminalCapabilities bitmask */ getTerminalCapabilities(int fdIn
|
|||
|
||||
auto got = buffer[0 .. len];
|
||||
if(!hasAnswer(got)) {
|
||||
goto try_again;
|
||||
if(retries > 0)
|
||||
goto try_again;
|
||||
else
|
||||
return TerminalCapabilities.minimal;
|
||||
}
|
||||
auto gots = cast(char[]) answer[3 .. $-1];
|
||||
|
||||
|
|
Loading…
Reference in New Issue