Updated vendored dependencies.

This commit is contained in:
morpheus65535 2022-11-07 13:06:49 -05:00
parent 708fbfcd8e
commit bbe2483e21
1750 changed files with 53887 additions and 34406 deletions

View file

@ -1,5 +1,5 @@
import io
from typing import List, Any, IO, TYPE_CHECKING
from typing import IO, TYPE_CHECKING, Any, List
from .ansi import AnsiDecoder
from .text import Text
@ -48,7 +48,7 @@ class FileProxy(io.TextIOBase):
return len(text)
def flush(self) -> None:
buffer = self.__buffer
if buffer:
self.__console.print("".join(buffer))
del buffer[:]
output = "".join(self.__buffer)
if output:
self.__console.print(output)
del self.__buffer[:]