PyTermGUI 7.7.2__py3-none-any.whl → 7.7.3__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.
CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [7.7.2] - 2024-08-31
2
+
3
+ ### Additions
4
+
5
+ - Stop allowing selection of closed Collapsible's items
6
+ - Clarify some documentation
7
+
8
+ <!-- HATCH README END -->
9
+
1
10
  ## [7.7.1] - 2024-02-24
2
11
 
3
12
  ### Additions
@@ -8,8 +17,6 @@
8
17
 
9
18
  - Fix `inline` widget referring to `hover` mouse mode
10
19
 
11
- <!-- HATCH README END -->
12
-
13
20
  ## [7.7.0] - 2023-09-06
14
21
 
15
22
  ### Additions
@@ -403,6 +410,7 @@
403
410
 
404
411
  <!-- HATCH URI DEFINITIONS START -->
405
412
 
413
+ [7.7.2]: https://github.com/bczsalba/pytermgui/compare/v7.7.1...v7.7.2
406
414
  [7.7.1]: https://github.com/bczsalba/pytermgui/compare/v7.7.0...v7.7.1
407
415
  [7.7.0]: https://github.com/bczsalba/pytermgui/compare/v7.6.0...v7.7.0
408
416
  [7.6.0]: https://github.com/bczsalba/pytermgui/compare/v7.5.0...v7.6.0
pytermgui/__init__.py CHANGED
@@ -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.3"
44
44
 
45
45
 
46
46
  def auto(data: Any, **widget_args: Any) -> Optional[Widget | list[Splitter]]:
pytermgui/input.py CHANGED
@@ -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()
@@ -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.3
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
102
+ ### [7.7.2] - 2024-08-31
103
103
 
104
104
  ### Additions
105
105
 
106
- - Add support for wide characters
107
-
108
- ### Bugfixes
109
-
110
- - Fix `inline` widget referring to `hover` mouse mode
106
+ - Stop allowing selection of closed Collapsible's items
107
+ - Clarify some documentation
111
108
 
112
109
 
113
110
  Read the full changelog [here](https://github.com/bczsalba/pytermgui/blob/master/CHANGELOG.md).
114
111
 
115
112
 
116
113
 
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,7 @@
1
- CHANGELOG.md,sha256=SeTj7EtLgcK7KSsbSp7yp1rfauJKKQlyUrLlXiWTFwk,11316
1
+ CHANGELOG.md,sha256=Ez_ZaYpbZVe5w0GwGAIL13w7LSyLCtbBzEIndaboey8,11513
2
2
  README.md,sha256=dNaZZ7tppGtc_gtypxZHLbfzdRJCUtwEsqteaifvDEw,7096
3
3
  examples/README.md,sha256=HlppdWTr0KRNJ4tRMUkQ1D1I7h-iEN8Iy9YXOUSbnDY,553
4
- pytermgui/__init__.py,sha256=rlXqnmBRZwEXCpyT14bZhyicgTu4jSBDLVCB1WnEEIA,3708
4
+ pytermgui/__init__.py,sha256=wUqFIgFZkxV6WKIQtJ0wjDzeDDP-Hkw1VYeR0G-ykoU,3708
5
5
  pytermgui/animations.py,sha256=xylsLk_mH9W1msfSzdrc6Lay_IG4E-ZxlzLC2ROW7dI,9157
6
6
  pytermgui/ansi_interface.py,sha256=YDNLOB0C2CpIIVVIflAWJtAjBlnIPYgksrEPHTLqGZE,19743
7
7
  pytermgui/cmd.py,sha256=UEJcTxGg_k-RzNOms03hDM5DC9JReTQCh1gj_Y95boI,26454
@@ -15,7 +15,7 @@ pytermgui/fancy_repr.py,sha256=QIaLr3jBQiE8OkEIfQVMWUTZZINJk6qUmVN78KFie98,1823
15
15
  pytermgui/file_loaders.py,sha256=OHevHzGdWh1L8Mdp4cZwDd92JWrn8jvsViXK1OlRJgM,12057
16
16
  pytermgui/helpers.py,sha256=fioDYq8PG4c5gex2-of5Jecm3k1W9opCAM51HLsvxeA,3070
17
17
  pytermgui/highlighters.py,sha256=rcHLWhGxTPG5IabhJIEu0eCSTOj4hMJPsxXQnxqfybo,7292
18
- pytermgui/input.py,sha256=1Bfx1lwb8yEuBXPXhuNidilIq2gjK5Lk7vPWQd1xpJs,12763
18
+ pytermgui/input.py,sha256=S2Ipk4Tzh_i3nLcZ7bPcz4um0mDm7gfR-NDqOJCYFg4,12789
19
19
  pytermgui/inspector.py,sha256=cAPr0IiSq5Y0iWIwwfvIvgHDORLpCfRJw9cHFxz8Krg,14368
20
20
  pytermgui/palettes.py,sha256=l5ADmaUdLpiMmHXz9skJ89FocN0bfdhrN-AEnxfDHDQ,12236
21
21
  pytermgui/prettifiers.py,sha256=nI1fb-xR00XeM8parSYiKUGVZQCwkH_f_7xSkSnvMD8,4490
@@ -71,8 +71,8 @@ tests/test_layouts.py,sha256=F2dg3ZuTDzSu3wfGYvTRvViqtN-sBL48xsj6qZ6P2nA,2110
71
71
  tests/test_parser.py,sha256=TIBCZ1o9EzWLOx866o0eIAnHS0YnQrMb4_A3BYJ4ifk,5343
72
72
  tests/test_regex.py,sha256=gfbUSZLXuPaoVVOTHPPGaYmlCkMZQsk7MP7PtEC0m4s,1352
73
73
  tests/test_styles.py,sha256=uxNn4oGTtp-RDv9_CVhrGo2Bpc5OkWMNk540wJ2QUIA,1861
74
- pytermgui-7.7.2.dist-info/METADATA,sha256=izjwwOwcsWBODHtwZx4UuiBIY1Jp8KtU9eQlwBVRTkc,5994
75
- pytermgui-7.7.2.dist-info/WHEEL,sha256=EI2JsGydwUL5GP9t6kzZv7G3HDPi7FuZDDf9In6amRM,87
76
- pytermgui-7.7.2.dist-info/entry_points.txt,sha256=_f8oS50EIgQ03FG2DFQZFfq7GeY7F9Z5PmNO9dcjwM4,43
77
- pytermgui-7.7.2.dist-info/licenses/LICENSE,sha256=m-Yvg2wbkEYgYdXj1NTqkVopaP2q_FWlg7Bv0p16mqg,1052
78
- pytermgui-7.7.2.dist-info/RECORD,,
74
+ pytermgui-7.7.3.dist-info/METADATA,sha256=8cxFJj9hf2hsW1qBXdjfFKtWzg2mTeMoggsSS0wr7EY,6047
75
+ pytermgui-7.7.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
76
+ pytermgui-7.7.3.dist-info/entry_points.txt,sha256=_f8oS50EIgQ03FG2DFQZFfq7GeY7F9Z5PmNO9dcjwM4,43
77
+ pytermgui-7.7.3.dist-info/licenses/LICENSE,sha256=m-Yvg2wbkEYgYdXj1NTqkVopaP2q_FWlg7Bv0p16mqg,1052
78
+ pytermgui-7.7.3.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.14.0
2
+ Generator: hatchling 1.27.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any