hstt/main.py
def draw_text(self, y: int, x: int, text: str) -> None:
        """Draw text at specific coords from SubArea start (excluding border)."""
        y_start = self.top + y
        if self.border_top:
            y_start += 1
        x_start = self.left + x
        if self.border_left:
            x_start += 1
        try:
            self.window.addstr(y_start, x_start, text)
        except curses.error as e:
            print(repr(e), y_start, x_start, text)
Draw text at specific coords from SubArea start (excluding border).
Draw text at specific coords from SubArea start (excluding border).
Draw text at specific coords from SubArea start ( excluding border ) .
def draw_text(self, y: int, x: int, text: str) -> None:
        y_start = self.top + y
        if self.border_top:
            y_start += 1
        x_start = self.left + x
        if self.border_left:
            x_start += 1
        try:
            self.window.addstr(y_start, x_start, text)
        except curses.error as e:
            print(repr(e), y_start, x_start, text)
def draw_text ( self , y : int , x : int , text : str ) -> None : y_start = self . top + y if self . border_top : y_start += 1 x_start = self . left + x if self . border_left : x_start += 1 try : self . window . addstr ( y_start , x_start , text ) except curses . error as e : print ( repr ( e ) , y_start , x_start , text )
Draw text at specific coords from SubArea start (excluding border).
Draw text at specific coords from SubArea start ( excluding border ) .
"""Draw text at specific coords from SubArea start (excluding border)."""
self
y
int
x
int
text
str