PyTermGUI 7.7.2__tar.gz → 7.7.4__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 (77) hide show
  1. {pytermgui-7.7.2 → pytermgui-7.7.4}/CHANGELOG.md +17 -2
  2. {pytermgui-7.7.2 → pytermgui-7.7.4}/PKG-INFO +6 -8
  3. {pytermgui-7.7.2 → pytermgui-7.7.4}/pyproject.toml +1 -3
  4. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/__init__.py +1 -1
  5. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/input.py +17 -17
  6. {pytermgui-7.7.2 → pytermgui-7.7.4}/.gitignore +0 -0
  7. {pytermgui-7.7.2 → pytermgui-7.7.4}/LICENSE +0 -0
  8. {pytermgui-7.7.2 → pytermgui-7.7.4}/README.md +0 -0
  9. {pytermgui-7.7.2 → pytermgui-7.7.4}/examples/README.md +0 -0
  10. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/animations.py +0 -0
  11. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/ansi_interface.py +0 -0
  12. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/cmd.py +0 -0
  13. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/color_info.py +0 -0
  14. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/colors.py +0 -0
  15. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/context_managers.py +0 -0
  16. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/enums.py +0 -0
  17. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/exceptions.py +0 -0
  18. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/exporters.py +0 -0
  19. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/fancy_repr.py +0 -0
  20. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/file_loaders.py +0 -0
  21. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/helpers.py +0 -0
  22. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/highlighters.py +0 -0
  23. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/inspector.py +0 -0
  24. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/markup/__init__.py +0 -0
  25. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/markup/aliases.py +0 -0
  26. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/markup/language.py +0 -0
  27. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/markup/macros.py +0 -0
  28. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/markup/parsing.py +0 -0
  29. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/markup/style_maps.py +0 -0
  30. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/markup/tokens.py +0 -0
  31. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/palettes.py +0 -0
  32. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/prettifiers.py +0 -0
  33. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/pretty.py +0 -0
  34. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/py.typed +0 -0
  35. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/regex.py +0 -0
  36. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/serialization.py +0 -0
  37. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/term.py +0 -0
  38. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/widgets/__init__.py +0 -0
  39. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/widgets/base.py +0 -0
  40. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/widgets/boxes.py +0 -0
  41. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/widgets/button.py +0 -0
  42. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/widgets/checkbox.py +0 -0
  43. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/widgets/collapsible.py +0 -0
  44. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/widgets/color_picker.py +0 -0
  45. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/widgets/containers.py +0 -0
  46. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/widgets/fancy_repr.py +0 -0
  47. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/widgets/frames.py +0 -0
  48. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/widgets/inline.py +0 -0
  49. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/widgets/input_field.py +0 -0
  50. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/widgets/keyboard_button.py +0 -0
  51. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/widgets/pixel_matrix.py +0 -0
  52. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/widgets/slider.py +0 -0
  53. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/widgets/styles.py +0 -0
  54. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/widgets/toggle.py +0 -0
  55. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/win32console.py +0 -0
  56. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/window_manager/__init__.py +0 -0
  57. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/window_manager/compositor.py +0 -0
  58. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/window_manager/layouts.py +0 -0
  59. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/window_manager/manager.py +0 -0
  60. {pytermgui-7.7.2 → pytermgui-7.7.4}/pytermgui/window_manager/window.py +0 -0
  61. {pytermgui-7.7.2 → pytermgui-7.7.4}/tests/__init__.py +0 -0
  62. {pytermgui-7.7.2 → pytermgui-7.7.4}/tests/_exporter_targets.py +0 -0
  63. {pytermgui-7.7.2 → pytermgui-7.7.4}/tests/colorgrids.py +0 -0
  64. {pytermgui-7.7.2 → pytermgui-7.7.4}/tests/test.json +0 -0
  65. {pytermgui-7.7.2 → pytermgui-7.7.4}/tests/test.yaml +0 -0
  66. {pytermgui-7.7.2 → pytermgui-7.7.4}/tests/test_animations.py +0 -0
  67. {pytermgui-7.7.2 → pytermgui-7.7.4}/tests/test_auto.py +0 -0
  68. {pytermgui-7.7.2 → pytermgui-7.7.4}/tests/test_colors.py +0 -0
  69. {pytermgui-7.7.2 → pytermgui-7.7.4}/tests/test_dump_n_load.py +0 -0
  70. {pytermgui-7.7.2 → pytermgui-7.7.4}/tests/test_exporters.py +0 -0
  71. {pytermgui-7.7.2 → pytermgui-7.7.4}/tests/test_fancy_repr.py +0 -0
  72. {pytermgui-7.7.2 → pytermgui-7.7.4}/tests/test_helpers.py +0 -0
  73. {pytermgui-7.7.2 → pytermgui-7.7.4}/tests/test_highlight_markup_literal.py +0 -0
  74. {pytermgui-7.7.2 → pytermgui-7.7.4}/tests/test_layouts.py +0 -0
  75. {pytermgui-7.7.2 → pytermgui-7.7.4}/tests/test_parser.py +0 -0
  76. {pytermgui-7.7.2 → pytermgui-7.7.4}/tests/test_regex.py +0 -0
  77. {pytermgui-7.7.2 → pytermgui-7.7.4}/tests/test_styles.py +0 -0
@@ -1,3 +1,18 @@
1
+ ## [7.7.3] - 2024-12-29
2
+
3
+ ### Bugfixes
4
+
5
+ - Fix getch mapping for Windows keys
6
+
7
+ <!-- HATCH README END -->
8
+
9
+ ## [7.7.2] - 2024-08-31
10
+
11
+ ### Additions
12
+
13
+ - Stop allowing selection of closed Collapsible's items
14
+ - Clarify some documentation
15
+
1
16
  ## [7.7.1] - 2024-02-24
2
17
 
3
18
  ### Additions
@@ -8,8 +23,6 @@
8
23
 
9
24
  - Fix `inline` widget referring to `hover` mouse mode
10
25
 
11
- <!-- HATCH README END -->
12
-
13
26
  ## [7.7.0] - 2023-09-06
14
27
 
15
28
  ### Additions
@@ -403,6 +416,8 @@
403
416
 
404
417
  <!-- HATCH URI DEFINITIONS START -->
405
418
 
419
+ [7.7.3]: https://github.com/bczsalba/pytermgui/compare/v7.7.2...v7.7.3
420
+ [7.7.2]: https://github.com/bczsalba/pytermgui/compare/v7.7.1...v7.7.2
406
421
  [7.7.1]: https://github.com/bczsalba/pytermgui/compare/v7.7.0...v7.7.1
407
422
  [7.7.0]: https://github.com/bczsalba/pytermgui/compare/v7.6.0...v7.7.0
408
423
  [7.6.0]: https://github.com/bczsalba/pytermgui/compare/v7.5.0...v7.6.0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: PyTermGUI
3
- Version: 7.7.2
3
+ Version: 7.7.4
4
4
  Summary: Python TUI framework with mouse support, modular widget system, customizable and rapid terminal markup language and more!
5
5
  Project-URL: homepage, https://github.com/bczsalba/PyTermGUI
6
6
  Project-URL: repository, https://github.com/bczsalba/PyTermGUI
@@ -99,21 +99,19 @@ Additionally, there are a couple of neat tools to make your general Python devel
99
99
 
100
100
  ## Latest release
101
101
 
102
- ### [7.7.1] - 2024-02-24
103
-
104
- ### Additions
105
-
106
- - Add support for wide characters
102
+ ### [7.7.3] - 2024-12-29
107
103
 
108
104
  ### Bugfixes
109
105
 
110
- - Fix `inline` widget referring to `hover` mouse mode
106
+ - Fix getch mapping for Windows keys
111
107
 
112
108
 
113
109
  Read the full changelog [here](https://github.com/bczsalba/pytermgui/blob/master/CHANGELOG.md).
114
110
 
115
111
 
116
112
 
113
+ [7.7.3]: https://github.com/bczsalba/pytermgui/compare/v7.7.2...v7.7.3
114
+ [7.7.2]: https://github.com/bczsalba/pytermgui/compare/v7.7.1...v7.7.2
117
115
  [7.7.1]: https://github.com/bczsalba/pytermgui/compare/v7.7.0...v7.7.1
118
116
  [7.7.0]: https://github.com/bczsalba/pytermgui/compare/v7.6.0...v7.7.0
119
117
  [7.6.0]: https://github.com/bczsalba/pytermgui/compare/v7.5.0...v7.6.0
@@ -1,7 +1,5 @@
1
1
  [build-system]
2
- # requires = ["setuptools", "setuptools-scm"]
3
- # build-backend = "setuptools.build_meta"
4
- requires = ["hatchling", "hatch-fancy-pypi-readme"]
2
+ requires = ["hatchling >= 1.26.1", "hatch-fancy-pypi-readme"]
5
3
  build-backend = "hatchling.build"
6
4
 
7
5
  [project]
@@ -40,7 +40,7 @@ if "-m" in sys.argv: # pragma: no cover
40
40
 
41
41
  warnings.filterwarnings("ignore")
42
42
 
43
- __version__ = "7.7.2"
43
+ __version__ = "7.7.4"
44
44
 
45
45
 
46
46
  def auto(data: Any, **widget_args: Any) -> Optional[Widget | list[Splitter]]:
@@ -331,25 +331,25 @@ try:
331
331
  # TODO: Add shift+arrow keys
332
332
  _platform_keys = {
333
333
  "ESC": "\x1b",
334
- "LEFT": "\x1bK",
335
- "RIGHT": "\x1bM",
336
- "UP": "\x1bH",
337
- "DOWN": "\x1bP",
334
+ "LEFT": "\x1b[D",
335
+ "RIGHT": "\x1b[C",
336
+ "UP": "\x1b[A",
337
+ "DOWN": "\x1b[B",
338
338
  "ENTER": "\r",
339
339
  "RETURN": "\r",
340
- "BACKSPACE": "\x08",
341
- "F1": "\x00;",
342
- "F2": "\x00<",
343
- "F3": "\x00=",
344
- "F4": "\x00>",
345
- "F5": "\x00?",
346
- "F6": "\x00@",
347
- "F7": "\x00A",
348
- "F8": "\x00B",
349
- "F9": "\x00C",
350
- "F10": "\x00D",
351
- "F11": "\xe0\x85",
352
- "F12": "\xe0\x86",
340
+ "BACKSPACE": "\x7f",
341
+ "F1": "\x1bOP",
342
+ "F2": "\x1bOQ",
343
+ "F3": "\x1bOR",
344
+ "F4": "\x1bOS",
345
+ "F5": "\x1b[15~",
346
+ "F6": "\x1b[17~",
347
+ "F7": "\x1b[18~",
348
+ "F8": "\x1b[19~",
349
+ "F9": "\x1b[20~",
350
+ "F10": "\x1b[21~",
351
+ "F11": "\x1b[23~",
352
+ "F12": "\x1b[24~",
353
353
  }
354
354
 
355
355
  _getch = _GetchWindows()
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
File without changes
File without changes