Lines Matching refs:def
30 def constrain (n, min, max):
48 def __init__ (self, r=24,c=80):
62 def __str__ (self):
69 def dump (self):
76 def pretty (self):
85 def fill (self, ch=SPACE):
89 def fill_region (self, rs,cs, re,ce, ch=SPACE):
103 def cr (self):
110 def lf (self):
121 def crlf (self):
130 def newline (self):
137 def put_abs (self, r, c, ch):
146 def put (self, ch):
153 def insert_abs (self, r, c, ch):
166 def insert (self, ch):
170 def get_abs (self, r, c):
176 def get (self):
180 def get_region (self, rs,cs, re,ce):
202 def cursor_constrain (self):
210 def cursor_home (self, r=1, c=1): # <ESC>[{ROW};{COLUMN}H
216 def cursor_back (self,count=1): # <ESC>[{COUNT}D (not confused with down)
221 def cursor_down (self,count=1): # <ESC>[{COUNT}B (not confused with back)
226 def cursor_forward (self,count=1): # <ESC>[{COUNT}C
231 def cursor_up (self,count=1): # <ESC>[{COUNT}A
236 def cursor_up_reverse (self): # <ESC> M (called RI -- Reverse Index)
243 def cursor_force_position (self, r, c): # <ESC>[{ROW};{COLUMN}f
249 def cursor_save (self): # <ESC>[s
255 def cursor_unsave (self): # <ESC>[u
261 def cursor_save_attrs (self): # <ESC>7
268 def cursor_restore_attrs (self): # <ESC>8
274 def scroll_constrain (self):
283 def scroll_screen (self): # <ESC>[r
290 def scroll_screen_rows (self, rs, re): # <ESC>[{start};{end}r
298 def scroll_down (self): # <ESC>D
307 def scroll_up (self): # <ESC>M
316 def erase_end_of_line (self): # <ESC>[0K -or- <ESC>[K
323 def erase_start_of_line (self): # <ESC>[1K
330 def erase_line (self): # <ESC>[2K
336 def erase_down (self): # <ESC>[0J -or- <ESC>[J
344 def erase_up (self): # <ESC>[1J
352 def erase_screen (self): # <ESC>[2J
358 def set_tab (self): # <ESC>H
364 def clear_tab (self): # <ESC>[g
370 def clear_all_tabs (self): # <ESC>[3g