pymud 0.21.5.post1__tar.gz → 0.21.5.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.5.post1 → pymud-0.21.5.post2}/PKG-INFO +1 -1
  2. {pymud-0.21.5.post1 → pymud-0.21.5.post2}/pyproject.toml +1 -1
  3. {pymud-0.21.5.post1 → pymud-0.21.5.post2}/src/pymud/session.py +4 -2
  4. {pymud-0.21.5.post1 → pymud-0.21.5.post2}/src/pymud.egg-info/PKG-INFO +1 -1
  5. {pymud-0.21.5.post1 → pymud-0.21.5.post2}/LICENSE.txt +0 -0
  6. {pymud-0.21.5.post1 → pymud-0.21.5.post2}/README.md +0 -0
  7. {pymud-0.21.5.post1 → pymud-0.21.5.post2}/setup.cfg +0 -0
  8. {pymud-0.21.5.post1 → pymud-0.21.5.post2}/src/pymud/__init__.py +0 -0
  9. {pymud-0.21.5.post1 → pymud-0.21.5.post2}/src/pymud/__main__.py +0 -0
  10. {pymud-0.21.5.post1 → pymud-0.21.5.post2}/src/pymud/decorators.py +0 -0
  11. {pymud-0.21.5.post1 → pymud-0.21.5.post2}/src/pymud/dialogs.py +0 -0
  12. {pymud-0.21.5.post1 → pymud-0.21.5.post2}/src/pymud/extras.py +0 -0
  13. {pymud-0.21.5.post1 → pymud-0.21.5.post2}/src/pymud/i18n.py +0 -0
  14. {pymud-0.21.5.post1 → pymud-0.21.5.post2}/src/pymud/lang/i18n_chs.py +0 -0
  15. {pymud-0.21.5.post1 → pymud-0.21.5.post2}/src/pymud/lang/i18n_eng.py +0 -0
  16. {pymud-0.21.5.post1 → pymud-0.21.5.post2}/src/pymud/logger.py +0 -0
  17. {pymud-0.21.5.post1 → pymud-0.21.5.post2}/src/pymud/main.py +0 -0
  18. {pymud-0.21.5.post1 → pymud-0.21.5.post2}/src/pymud/modules.py +0 -0
  19. {pymud-0.21.5.post1 → pymud-0.21.5.post2}/src/pymud/objects.py +0 -0
  20. {pymud-0.21.5.post1 → pymud-0.21.5.post2}/src/pymud/pkuxkx.py +0 -0
  21. {pymud-0.21.5.post1 → pymud-0.21.5.post2}/src/pymud/protocol.py +0 -0
  22. {pymud-0.21.5.post1 → pymud-0.21.5.post2}/src/pymud/pymud.py +0 -0
  23. {pymud-0.21.5.post1 → pymud-0.21.5.post2}/src/pymud/settings.py +0 -0
  24. {pymud-0.21.5.post1 → pymud-0.21.5.post2}/src/pymud.egg-info/SOURCES.txt +0 -0
  25. {pymud-0.21.5.post1 → pymud-0.21.5.post2}/src/pymud.egg-info/dependency_links.txt +0 -0
  26. {pymud-0.21.5.post1 → pymud-0.21.5.post2}/src/pymud.egg-info/entry_points.txt +0 -0
  27. {pymud-0.21.5.post1 → pymud-0.21.5.post2}/src/pymud.egg-info/requires.txt +0 -0
  28. {pymud-0.21.5.post1 → pymud-0.21.5.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.5.post1
3
+ Version: 0.21.5.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.5post1" # Required
4
+ version = "0.21.5post2" # Required
5
5
  description = "a MUD Client written in Python" # Optional
6
6
  readme = "README.md" # Optional
7
7
  requires-python = ">=3.8"
@@ -814,8 +814,10 @@ class Session:
814
814
  else:
815
815
  self.log.log(f"\x1b[32m{line}\x1b[0m\n")
816
816
 
817
- # 当输入任意命令后,本地强制新行
818
- self.buffer.forceNewline()
817
+ # 当输入空行命令后,本地强制新行
818
+ if len(line) == 0:
819
+ self.buffer.forceNewline()
820
+
819
821
  self.record_command(line)
820
822
  cmd = line + self.newline
821
823
  self.write(cmd.encode(self.encoding, Settings.server["encoding_errors"]))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pymud
3
- Version: 0.21.5.post1
3
+ Version: 0.21.5.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