Skip to content

Commit

Permalink
print faster
Browse files Browse the repository at this point in the history
  • Loading branch information
adamyodinsky committed Dec 26, 2023
1 parent 7f2e2bc commit 5a31594
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terminalgpt/printer.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class Printer(ABC):
PRINT_DELAY = 0.004
PRINT_DELAY = 0.006

@abstractmethod
def printt(self, text: str = ""):
Expand Down Expand Up @@ -53,7 +53,7 @@ def printt(self, text: str = "", style="yellow"):
self.__console.print(text_markdown, style=style)
text_markdown = capture.get()
if txt.startswith("```"):
delay = self.PRINT_DELAY / 10
delay = self.PRINT_DELAY / 14
else:
delay = self.PRINT_DELAY
self._print_with_delay(text_markdown, delay)
Expand Down

0 comments on commit 5a31594

Please sign in to comment.