wizlib 2.0.18__tar.gz → 2.0.19__tar.gz

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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wizlib
3
- Version: 2.0.18
3
+ Version: 2.0.19
4
4
  Summary: Framework for flexible and powerful command-line applications
5
5
  License: MIT
6
6
  Author: Steampunk Wizard
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "wizlib"
3
- version = "2.0.18"
3
+ version = "2.0.19"
4
4
  description = "Framework for flexible and powerful command-line applications"
5
5
  authors = ["Steampunk Wizard <wizlib@steampunkwizard.ca>"]
6
6
  license = "MIT"
@@ -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] in WORD_SEPARATORS), -1)
231
+ if self.buf[c] == SPACE), -1)
231
232
  return self.buf[index+1:]
232
233
 
233
234
  @property
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes