diff options
| author | Mattias Andrée <maandree@operamail.com> | 2013-09-11 13:08:21 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@operamail.com> | 2013-09-11 13:08:21 +0200 |
| commit | 600a85f7eeedc8ee2d9d757f99e2b31452d369b4 (patch) | |
| tree | 7d1630916292225eb42adf35e82fb2df23a24d0c /src | |
| parent | typo (diff) | |
| download | pytagomacs-600a85f7eeedc8ee2d9d757f99e2b31452d369b4.tar.gz pytagomacs-600a85f7eeedc8ee2d9d757f99e2b31452d369b4.tar.bz2 pytagomacs-600a85f7eeedc8ee2d9d757f99e2b31452d369b4.tar.xz | |
just for style
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/editor.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/editor.py b/src/editor.py index 7db3723..3530faf 100644 --- a/src/editor.py +++ b/src/editor.py @@ -80,8 +80,8 @@ class TextArea(): @param fields:list<str> Field names @param datamap:dist<str, str> Data map @param left:int Left position of the component, 1 based - @param top:int Top position of the component, 1 based - @param width:int? Width of the component, `None` for screen width − left offset, negative for `None` plus that value + @param top:int Top position of the component, 1 based + @param width:int? Width of the component, `None` for screen width − left offset, negative for `None` plus that value @param height:int? Height of the component, `None` for screen height − top offset, negative for `None` plus that value ''' if width is None: width = 0 @@ -418,7 +418,7 @@ class TextArea(): x = self.left + self.innerleft + self.x - self.offx dashes = max(self.width - len(txt), 0) Jump(self.top + self.height - 2, self.left)() - print('\033[7m%s-\033[27m%s' % (self.limit_text(txt + '-' * dashes), Jump(y, x)), end='') + print('\033[07m%s-\033[27m%s' % (self.limit_text(txt + '-' * dashes), Jump(y, x)), end='') self.last_status = text def alert(self, text): @@ -457,7 +457,7 @@ class TextArea(): @param saver:()→bool Save method @param preredrawer:()?→void Method to call before redrawing screen - @param postredrawer:()?→void Method to call after redrawing screen + @param postredrawer:()?→void Method to call after redrawing screen ''' modified = False override = False |
