hstt/main.py
def draw_hline(self, y: int, x: int, length: int) -> None:
        """Draw horizontal line at specific coords from SubArea start (excluding border)."""
        if not length:
            return
        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.hline(y_start, x_start, curses.ACS_BLOCK, length)
        except curses.error as e:
            print(repr(e), y_start, x_start, length)
Draw horizontal line at specific coords from SubArea start (excluding border).
Draw horizontal line at specific coords from SubArea start (excluding border).
Draw horizontal line at specific coords from SubArea start ( excluding border ) .
def draw_hline(self, y: int, x: int, length: int) -> None:
        if not length:
            return
        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.hline(y_start, x_start, curses.ACS_BLOCK, length)
        except curses.error as e:
            print(repr(e), y_start, x_start, length)
def draw_hline ( self , y : int , x : int , length : int ) -> None : if not length : return 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 . hline ( y_start , x_start , curses . ACS_BLOCK , length ) except curses . error as e : print ( repr ( e ) , y_start , x_start , length )
Draw horizontal line at specific coords from SubArea start (excluding border).
Draw horizontal line at specific coords from SubArea start ( excluding border ) .
"""Draw horizontal line at specific coords from SubArea start (excluding border)."""
self
y
int
x
int
length
int