Coding style.
- All attributes should be in the __init__. - Fixed a traceback when pressing ctrl-c as first key.
This commit is contained in:
parent
5e2657c46d
commit
99339680de
1 changed files with 1 additions and 0 deletions
|
|
@ -200,6 +200,7 @@ class Editor:
|
|||
self.last_height = 40
|
||||
self.is_editing = True
|
||||
self.theme_index = 0
|
||||
self.previous_term_code = None
|
||||
|
||||
@property
|
||||
def cursor_x(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue