Example #1
0
 def vline(self, y, x, ch, n, attr=None):
     ch = _chtype(ch)
     if attr is None:
         attr = lib.A_NORMAL
     if y is not None:
         _check_ERR(lib.wmove(self._win, y, x), "wmove")
     return _check_ERR(lib.wvline(self._win, ch | attr, n), "vline")
Example #2
0
 def vline(self, y, x, ch, n, attr=None):
     ch = _chtype(ch)
     if attr is None:
         attr = lib.A_NORMAL
     if y is not None:
         _check_ERR(lib.wmove(self._win, y, x), "wmove")
     return _check_ERR(lib.wvline(self._win, ch | attr, n), "vline")