wizlib 2.0.18__py3-none-any.whl → 2.0.19__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of wizlib might be problematic. Click here for more details.
wizlib/ui/shell_line_editor.py
CHANGED
|
@@ -70,6 +70,7 @@ FAINT = ESC + "[2m"
|
|
|
70
70
|
BOLD = ESC + "[1m"
|
|
71
71
|
|
|
72
72
|
WORD_SEPARATORS = ' -_.,'
|
|
73
|
+
SPACE = ' '
|
|
73
74
|
|
|
74
75
|
|
|
75
76
|
def write(key):
|
|
@@ -227,7 +228,7 @@ class ShellLineEditor: # pragma: nocover
|
|
|
227
228
|
@property
|
|
228
229
|
def last_word(self):
|
|
229
230
|
index = next((c for c in reversed(range(len(self.buf)))
|
|
230
|
-
if self.buf[c]
|
|
231
|
+
if self.buf[c] == SPACE), -1)
|
|
231
232
|
return self.buf[index+1:]
|
|
232
233
|
|
|
233
234
|
@property
|
|
@@ -10,10 +10,10 @@ wizlib/parser.py,sha256=O34azN4ttVfwwAsza0hujxGxDpzc4xUEVAf26DXJS5g,1505
|
|
|
10
10
|
wizlib/rlinput.py,sha256=l00Pa3rxNeY6LJgz8Aws_rTKoEchw33fuL8yqHF9_-o,1754
|
|
11
11
|
wizlib/super_wrapper.py,sha256=F834ytHqA7zegTD1ezk_uxlF9PLygh84wReuiqcI7BI,272
|
|
12
12
|
wizlib/ui/__init__.py,sha256=55tzM_XphYFqm_jVxQc5vkfPLgD1Z3aqSjDl50GM44A,6139
|
|
13
|
-
wizlib/ui/shell_line_editor.py,sha256=
|
|
13
|
+
wizlib/ui/shell_line_editor.py,sha256=3YZmCskpJrp8Io-pBwLNF56uTG6IsBSCoiBPVUF79mI,7820
|
|
14
14
|
wizlib/ui/shell_ui.py,sha256=UdlMzCB2zk5NHT6KFE6n7aAMrXRb9lEAuG_gEg8mscA,1289
|
|
15
15
|
wizlib/ui_handler.py,sha256=nvMRuGVCwJ-_H59iZQ72--_tiiqXAsSHP7kYnd43P68,716
|
|
16
16
|
wizlib/util.py,sha256=6crNn_nI5Ytx5yu4IzcmI0iCfwCWbCN5NOnPcrYKB1c,156
|
|
17
|
-
wizlib-2.0.
|
|
18
|
-
wizlib-2.0.
|
|
19
|
-
wizlib-2.0.
|
|
17
|
+
wizlib-2.0.19.dist-info/METADATA,sha256=ctEkxTliADbtJvJWFaqYanjbESiJkep-2piMqlmHLjk,1781
|
|
18
|
+
wizlib-2.0.19.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
19
|
+
wizlib-2.0.19.dist-info/RECORD,,
|
|
File without changes
|