Lines Matching refs:def
46 def constrain (n, min, max):
64 def __init__ (self, r=24,c=80):
78 def __str__ (self):
85 def dump (self):
92 def pretty (self):
101 def fill (self, ch=SPACE):
105 def fill_region (self, rs,cs, re,ce, ch=SPACE):
119 def cr (self):
126 def lf (self):
137 def crlf (self):
146 def newline (self):
153 def put_abs (self, r, c, ch):
162 def put (self, ch):
169 def insert_abs (self, r, c, ch):
182 def insert (self, ch):
186 def get_abs (self, r, c):
192 def get (self):
196 def get_region (self, rs,cs, re,ce):
218 def cursor_constrain (self):
226 def cursor_home (self, r=1, c=1): # <ESC>[{ROW};{COLUMN}H
232 def cursor_back (self,count=1): # <ESC>[{COUNT}D (not confused with down)
237 def cursor_down (self,count=1): # <ESC>[{COUNT}B (not confused with back)
242 def cursor_forward (self,count=1): # <ESC>[{COUNT}C
247 def cursor_up (self,count=1): # <ESC>[{COUNT}A
252 def cursor_up_reverse (self): # <ESC> M (called RI -- Reverse Index)
259 def cursor_force_position (self, r, c): # <ESC>[{ROW};{COLUMN}f
265 def cursor_save (self): # <ESC>[s
271 def cursor_unsave (self): # <ESC>[u
277 def cursor_save_attrs (self): # <ESC>7
284 def cursor_restore_attrs (self): # <ESC>8
290 def scroll_constrain (self):
299 def scroll_screen (self): # <ESC>[r
306 def scroll_screen_rows (self, rs, re): # <ESC>[{start};{end}r
314 def scroll_down (self): # <ESC>D
323 def scroll_up (self): # <ESC>M
332 def erase_end_of_line (self): # <ESC>[0K -or- <ESC>[K
339 def erase_start_of_line (self): # <ESC>[1K
346 def erase_line (self): # <ESC>[2K
352 def erase_down (self): # <ESC>[0J -or- <ESC>[J
360 def erase_up (self): # <ESC>[1J
368 def erase_screen (self): # <ESC>[2J
374 def set_tab (self): # <ESC>H
380 def clear_tab (self): # <ESC>[g
386 def clear_all_tabs (self): # <ESC>[3g