pymud 0.21.4__tar.gz → 0.21.4.post2__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.
Files changed (28) hide show
  1. {pymud-0.21.4 → pymud-0.21.4.post2}/PKG-INFO +1 -1
  2. {pymud-0.21.4 → pymud-0.21.4.post2}/pyproject.toml +1 -1
  3. {pymud-0.21.4 → pymud-0.21.4.post2}/src/pymud/extras.py +4 -4
  4. {pymud-0.21.4 → pymud-0.21.4.post2}/src/pymud.egg-info/PKG-INFO +1 -1
  5. {pymud-0.21.4 → pymud-0.21.4.post2}/LICENSE.txt +0 -0
  6. {pymud-0.21.4 → pymud-0.21.4.post2}/README.md +0 -0
  7. {pymud-0.21.4 → pymud-0.21.4.post2}/setup.cfg +0 -0
  8. {pymud-0.21.4 → pymud-0.21.4.post2}/src/pymud/__init__.py +0 -0
  9. {pymud-0.21.4 → pymud-0.21.4.post2}/src/pymud/__main__.py +0 -0
  10. {pymud-0.21.4 → pymud-0.21.4.post2}/src/pymud/decorators.py +0 -0
  11. {pymud-0.21.4 → pymud-0.21.4.post2}/src/pymud/dialogs.py +0 -0
  12. {pymud-0.21.4 → pymud-0.21.4.post2}/src/pymud/i18n.py +0 -0
  13. {pymud-0.21.4 → pymud-0.21.4.post2}/src/pymud/lang/i18n_chs.py +0 -0
  14. {pymud-0.21.4 → pymud-0.21.4.post2}/src/pymud/lang/i18n_eng.py +0 -0
  15. {pymud-0.21.4 → pymud-0.21.4.post2}/src/pymud/logger.py +0 -0
  16. {pymud-0.21.4 → pymud-0.21.4.post2}/src/pymud/main.py +0 -0
  17. {pymud-0.21.4 → pymud-0.21.4.post2}/src/pymud/modules.py +0 -0
  18. {pymud-0.21.4 → pymud-0.21.4.post2}/src/pymud/objects.py +0 -0
  19. {pymud-0.21.4 → pymud-0.21.4.post2}/src/pymud/pkuxkx.py +0 -0
  20. {pymud-0.21.4 → pymud-0.21.4.post2}/src/pymud/protocol.py +0 -0
  21. {pymud-0.21.4 → pymud-0.21.4.post2}/src/pymud/pymud.py +0 -0
  22. {pymud-0.21.4 → pymud-0.21.4.post2}/src/pymud/session.py +0 -0
  23. {pymud-0.21.4 → pymud-0.21.4.post2}/src/pymud/settings.py +0 -0
  24. {pymud-0.21.4 → pymud-0.21.4.post2}/src/pymud.egg-info/SOURCES.txt +0 -0
  25. {pymud-0.21.4 → pymud-0.21.4.post2}/src/pymud.egg-info/dependency_links.txt +0 -0
  26. {pymud-0.21.4 → pymud-0.21.4.post2}/src/pymud.egg-info/entry_points.txt +0 -0
  27. {pymud-0.21.4 → pymud-0.21.4.post2}/src/pymud.egg-info/requires.txt +0 -0
  28. {pymud-0.21.4 → pymud-0.21.4.post2}/src/pymud.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pymud
3
- Version: 0.21.4
3
+ Version: 0.21.4.post2
4
4
  Summary: a MUD Client written in Python
5
5
  Author-email: "newstart@pkuxkx" <crapex@hotmail.com>
6
6
  Maintainer-email: "newstart@pkuxkx" <crapex@hotmail.com>
@@ -1,7 +1,7 @@
1
1
  [project]
2
2
 
3
3
  name = "pymud" # Required
4
- version = "0.21.4" # Required
4
+ version = "0.21.4post2" # Required
5
5
  description = "a MUD Client written in Python" # Optional
6
6
  readme = "README.md" # Optional
7
7
  requires-python = ">=3.8"
@@ -755,7 +755,8 @@ class PyMudBufferControl(UIControl):
755
755
  if (east_asian_width(ch) in "FWA") and (wcwidth(ch) == 1):
756
756
 
757
757
  if ch in self.FULL_BLOCKS:
758
- new_str.append(ch * 2)
758
+ new_str.append(ch)
759
+ new_str.append(ch)
759
760
  elif ch in self.SINGLE_LINES:
760
761
  new_str.append(ch)
761
762
  new_str.append("─")
@@ -774,9 +775,6 @@ class PyMudBufferControl(UIControl):
774
775
  else:
775
776
  new_str.append(ch)
776
777
 
777
- # 添加一个不可见字符,用于允许选择行时选到最后一个字符
778
- new_str.append("\u200B")
779
-
780
778
  return "".join(new_str)
781
779
 
782
780
  def return_correction(self, line: str):
@@ -804,6 +802,8 @@ class PyMudBufferControl(UIControl):
804
802
  # 处理Tab(\r)符号(^I)对齐
805
803
  line = self.tab_correction(line)
806
804
 
805
+ line += "\u200B" # 最后添加一个不可见字符,用于允许选择行时选到最后一个字符
806
+
807
807
  return line
808
808
 
809
809
  def create_content(self, width: int, height: int) -> UIContent:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pymud
3
- Version: 0.21.4
3
+ Version: 0.21.4.post2
4
4
  Summary: a MUD Client written in Python
5
5
  Author-email: "newstart@pkuxkx" <crapex@hotmail.com>
6
6
  Maintainer-email: "newstart@pkuxkx" <crapex@hotmail.com>
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes