Refactor screen mode API to use get/setters

This commit is contained in:
Kovid Goyal
2017-01-04 10:24:00 +05:30
parent b4af2ff314
commit af8d44ecab
6 changed files with 36 additions and 17 deletions
+1 -1
View File
@@ -447,7 +447,7 @@ class CharGrid:
def render_cursor(self, sg, cursor_program):
cursor = self.current_cursor
if self.screen.cursor_hidden() or self.scrolled_by:
if not self.screen.cursor_visible or self.scrolled_by:
return
def width(w=2, vert=True):