hspylib-clitt 0.9.126__tar.gz → 0.9.128__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 hspylib-clitt might be problematic. Click here for more details.

Files changed (104) hide show
  1. {hspylib_clitt-0.9.126/hspylib_clitt.egg-info → hspylib_clitt-0.9.128}/PKG-INFO +2 -2
  2. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/README.md +1 -1
  3. hspylib_clitt-0.9.128/clitt/.version +1 -0
  4. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/__classpath__.py +1 -1
  5. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/__init__.py +2 -2
  6. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/__main__.py +1 -1
  7. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/addons/__init__.py +2 -2
  8. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/addons/appman/__init__.py +2 -2
  9. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/addons/appman/appman.py +1 -1
  10. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/addons/appman/appman_enums.py +1 -1
  11. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/addons/appman/templates/__init__.py +2 -2
  12. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/addons/widman/__init__.py +2 -2
  13. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/addons/widman/widget.py +1 -1
  14. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/addons/widman/widget_entry.py +1 -1
  15. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/addons/widman/widgets/__init__.py +2 -2
  16. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/addons/widman/widgets/widget_free.py +1 -1
  17. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/addons/widman/widgets/widget_punch.py +1 -1
  18. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/addons/widman/widgets/widget_send_msg.py +1 -1
  19. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/addons/widman/widgets/widget_time_calc.py +1 -1
  20. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/addons/widman/widman.py +1 -1
  21. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/__init__.py +2 -2
  22. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/exception/__init__.py +2 -2
  23. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/exception/exceptions.py +1 -1
  24. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/icons/__init__.py +2 -2
  25. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/icons/emojis/__init__.py +2 -2
  26. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/icons/emojis/emojis.py +1 -1
  27. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/icons/emojis/face_smiling.py +1 -1
  28. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/icons/font_awesome/__init__.py +2 -2
  29. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/icons/font_awesome/app_icons.py +1 -1
  30. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/icons/font_awesome/awesome.py +1 -1
  31. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/icons/font_awesome/dashboard_icons.py +1 -1
  32. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/icons/font_awesome/form_icons.py +1 -1
  33. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/icons/font_awesome/game_icons.py +1 -1
  34. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/icons/font_awesome/nav_icons.py +1 -1
  35. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/icons/font_awesome/trickplay_icons.py +1 -1
  36. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/icons/font_awesome/widget_icons.py +1 -1
  37. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/preferences.py +1 -1
  38. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/term/__init__.py +2 -2
  39. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/term/commons.py +1 -1
  40. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/term/cursor.py +18 -8
  41. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/term/screen.py +1 -1
  42. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/term/terminal.py +8 -4
  43. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/__init__.py +2 -2
  44. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/line_input/__init__.py +2 -2
  45. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/line_input/keyboard_input.py +122 -86
  46. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/line_input/line_input.py +1 -1
  47. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/mchoose/__init__.py +2 -2
  48. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/mchoose/mchoose.py +1 -1
  49. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/mchoose/menu_choose.py +1 -1
  50. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/mdashboard/__init__.py +2 -2
  51. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/mdashboard/dashboard_builder.py +1 -1
  52. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/mdashboard/dashboard_item.py +1 -1
  53. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/mdashboard/mdashboard.py +1 -1
  54. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/mdashboard/menu_dashboard.py +1 -1
  55. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/menu/__init__.py +2 -2
  56. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/menu/tui_menu.py +1 -1
  57. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/menu/tui_menu_action.py +1 -1
  58. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/menu/tui_menu_factory.py +1 -1
  59. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/menu/tui_menu_item.py +1 -1
  60. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/menu/tui_menu_ui.py +1 -1
  61. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/menu/tui_menu_view.py +1 -1
  62. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/minput/__init__.py +2 -2
  63. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/minput/access_type.py +1 -1
  64. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/minput/field_builder.py +1 -1
  65. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/minput/form_builder.py +1 -1
  66. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/minput/form_field.py +1 -1
  67. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/minput/input_type.py +1 -1
  68. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/minput/input_validator.py +1 -1
  69. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/minput/menu_input.py +1 -1
  70. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/minput/minput.py +1 -1
  71. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/minput/minput_utils.py +1 -1
  72. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/mselect/__init__.py +2 -2
  73. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/mselect/menu_select.py +1 -1
  74. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/mselect/mselect.py +1 -1
  75. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/table/__init__.py +2 -2
  76. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/table/table_enums.py +1 -1
  77. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/table/table_renderer.py +1 -1
  78. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/tui_application.py +3 -3
  79. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/tui_component.py +29 -19
  80. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/core/tui/tui_preferences.py +1 -1
  81. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/utils/__init__.py +2 -2
  82. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128/hspylib_clitt.egg-info}/PKG-INFO +2 -2
  83. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/setup.py +1 -1
  84. hspylib_clitt-0.9.126/clitt/.version +0 -1
  85. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/MANIFEST.in +0 -0
  86. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/addons/appman/templates/build.gradle.tpl +0 -0
  87. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/addons/appman/templates/classpath.py.tpl +0 -0
  88. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/addons/appman/templates/dependencies.hspd.tpl +0 -0
  89. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/addons/appman/templates/gitignore.tpl +0 -0
  90. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/addons/appman/templates/main.py.tpl +0 -0
  91. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/addons/appman/templates/main_qt.py.tpl +0 -0
  92. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/addons/appman/templates/main_qt_view.py.tpl +0 -0
  93. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/addons/appman/templates/main_qt_view.ui.tpl +0 -0
  94. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/addons/appman/templates/run.sh.tpl +0 -0
  95. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/addons/appman/templates/test_main.py.tpl +0 -0
  96. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/addons/appman/templates/usage.txt.tpl +0 -0
  97. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/addons/appman/templates/widget.py.tpl +0 -0
  98. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/utils/git_utils.py +0 -0
  99. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/clitt/welcome.txt +0 -0
  100. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/hspylib_clitt.egg-info/SOURCES.txt +0 -0
  101. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/hspylib_clitt.egg-info/dependency_links.txt +0 -0
  102. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/hspylib_clitt.egg-info/requires.txt +0 -0
  103. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/hspylib_clitt.egg-info/top_level.txt +0 -0
  104. {hspylib_clitt-0.9.126 → hspylib_clitt-0.9.128}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hspylib-clitt
3
- Version: 0.9.126
3
+ Version: 0.9.128
4
4
  Summary: HsPyLib - CLI Terminal Tools
5
5
  Home-page: https://github.com/yorevs/hspylib
6
6
  Author: Hugo Saporetti Junior
@@ -40,7 +40,7 @@ Requires-Dist: emoji>=2.12.1
40
40
  [![Gitter](https://badgen.net/badge/icon/gitter?icon=gitter&label)](https://gitter.im/hspylib/community)
41
41
  [![Donate](https://badgen.net/badge/paypal/donate/yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=J5CDEFLF6M3H4)
42
42
  [![License](https://badgen.net/badge/license/MIT/gray)](LICENSE.md)
43
- [![Release](https://badgen.net/badge/release/v0.9.126/gray)](docs/CHANGELOG.md#unreleased)
43
+ [![Release](https://badgen.net/badge/release/v0.9.128/gray)](docs/CHANGELOG.md#unreleased)
44
44
  [![build-and-test](https://github.com/yorevs/hspylib/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/yorevs/hspylib/actions/workflows/build-and-test.yml)
45
45
 
46
46
  HsPyLib is not just a Python library; it's a gateway to elevating your programming experience to new heights. Built on
@@ -8,7 +8,7 @@
8
8
  [![Gitter](https://badgen.net/badge/icon/gitter?icon=gitter&label)](https://gitter.im/hspylib/community)
9
9
  [![Donate](https://badgen.net/badge/paypal/donate/yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=J5CDEFLF6M3H4)
10
10
  [![License](https://badgen.net/badge/license/MIT/gray)](LICENSE.md)
11
- [![Release](https://badgen.net/badge/release/v0.9.126/gray)](docs/CHANGELOG.md#unreleased)
11
+ [![Release](https://badgen.net/badge/release/v0.9.128/gray)](docs/CHANGELOG.md#unreleased)
12
12
  [![build-and-test](https://github.com/yorevs/hspylib/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/yorevs/hspylib/actions/workflows/build-and-test.yml)
13
13
 
14
14
  HsPyLib is not just a Python library; it's a gateway to elevating your programming experience to new heights. Built on
@@ -0,0 +1 @@
1
+ 0.9.128
@@ -6,7 +6,7 @@
6
6
  @package: clitt
7
7
  @file: __classpath__.py
8
8
  @created: Fri, 23 Dec 2022
9
- @author: "<B>H</B>ugo <B>S</B>aporetti <B>J</B>unior")"
9
+ @author: "<B>H</B>ugo <B>S</B>aporetti <B>J</B>unior
10
10
  @site: "https://github.com/yorevs/hspylib")
11
11
  @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
12
 
@@ -1,6 +1,6 @@
1
1
  # _*_ coding: utf-8 _*_
2
2
  #
3
- # hspylib-clitt v0.9.126
3
+ # hspylib-clitt v0.9.128
4
4
  #
5
5
  # Package: main.clitt
6
6
  """Package initialization."""
@@ -10,4 +10,4 @@ __all__ = [
10
10
  'core',
11
11
  'utils'
12
12
  ]
13
- __version__ = '0.9.126'
13
+ __version__ = '0.9.128'
@@ -6,7 +6,7 @@
6
6
  @package: hspylib
7
7
  @file: __main__.py
8
8
  @created: Tue, 4 May 2021
9
- @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior"
9
+ @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior
10
10
  @site: https://github.com/yorevs/hspylib
11
11
  @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
12
 
@@ -1,6 +1,6 @@
1
1
  # _*_ coding: utf-8 _*_
2
2
  #
3
- # hspylib-clitt v0.9.126
3
+ # hspylib-clitt v0.9.128
4
4
  #
5
5
  # Package: main.clitt.addons
6
6
  """Package initialization."""
@@ -9,4 +9,4 @@ __all__ = [
9
9
  'appman',
10
10
  'widman'
11
11
  ]
12
- __version__ = '0.9.126'
12
+ __version__ = '0.9.128'
@@ -1,6 +1,6 @@
1
1
  # _*_ coding: utf-8 _*_
2
2
  #
3
- # hspylib-clitt v0.9.126
3
+ # hspylib-clitt v0.9.128
4
4
  #
5
5
  # Package: main.clitt.addons.appman
6
6
  """Package initialization."""
@@ -10,4 +10,4 @@ __all__ = [
10
10
  'appman_enums',
11
11
  'templates'
12
12
  ]
13
- __version__ = '0.9.126'
13
+ __version__ = '0.9.128'
@@ -6,7 +6,7 @@
6
6
  @package: clitt.addons.appman
7
7
  @file: appman.py
8
8
  @created: Tue, 4 May 2021
9
- @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior"
9
+ @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior
10
10
  @site: https://github.com/yorevs/hspylib
11
11
  @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
12
 
@@ -6,7 +6,7 @@
6
6
  @package: clitt.addons.appman
7
7
  @file: appman_enums.py
8
8
  @created: Fri, 29 Jul 2022
9
- @author: "<B>H</B>ugo <B>S</B>aporetti <B>J</B>unior")"
9
+ @author: "<B>H</B>ugo <B>S</B>aporetti <B>J</B>unior
10
10
  @site: "https://github.com/yorevs/hspylib")
11
11
  @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
12
 
@@ -1,6 +1,6 @@
1
1
  # _*_ coding: utf-8 _*_
2
2
  #
3
- # hspylib-clitt v0.9.126
3
+ # hspylib-clitt v0.9.128
4
4
  #
5
5
  # Package: main.clitt.addons.appman.templates
6
6
  """Package initialization."""
@@ -8,4 +8,4 @@
8
8
  __all__ = [
9
9
 
10
10
  ]
11
- __version__ = '0.9.126'
11
+ __version__ = '0.9.128'
@@ -1,6 +1,6 @@
1
1
  # _*_ coding: utf-8 _*_
2
2
  #
3
- # hspylib-clitt v0.9.126
3
+ # hspylib-clitt v0.9.128
4
4
  #
5
5
  # Package: main.clitt.addons.widman
6
6
  """Package initialization."""
@@ -11,4 +11,4 @@ __all__ = [
11
11
  'widgets',
12
12
  'widman'
13
13
  ]
14
- __version__ = '0.9.126'
14
+ __version__ = '0.9.128'
@@ -6,7 +6,7 @@
6
6
  @package: clitt.addons.widman
7
7
  @file: widget.py
8
8
  @created: Fri, 29 Jul 2022
9
- @author: "<B>H</B>ugo <B>S</B>aporetti <B>J</B>unior")"
9
+ @author: "<B>H</B>ugo <B>S</B>aporetti <B>J</B>unior
10
10
  @site: "https://github.com/yorevs/hspylib")
11
11
  @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
12
 
@@ -6,7 +6,7 @@
6
6
  @package: clitt.addons.widman
7
7
  @file: widget_entry.py
8
8
  @created: Fri, 04 Jun 2021
9
- @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior"
9
+ @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior
10
10
  @site: https://github.com/yorevs/hspylib
11
11
  @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
12
 
@@ -1,6 +1,6 @@
1
1
  # _*_ coding: utf-8 _*_
2
2
  #
3
- # hspylib-clitt v0.9.126
3
+ # hspylib-clitt v0.9.128
4
4
  #
5
5
  # Package: main.clitt.addons.widman.widgets
6
6
  """Package initialization."""
@@ -11,4 +11,4 @@ __all__ = [
11
11
  'widget_send_msg',
12
12
  'widget_time_calc'
13
13
  ]
14
- __version__ = '0.9.126'
14
+ __version__ = '0.9.128'
@@ -6,7 +6,7 @@
6
6
  @package: clitt.addons.widman.widgets
7
7
  @file: widget_free.py
8
8
  @created: Thu, 20 May 2021
9
- @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior"
9
+ @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior
10
10
  @site: https://github.com/yorevs/hspylib
11
11
  @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
12
 
@@ -6,7 +6,7 @@
6
6
  @package: clitt.addons.widman.widgets
7
7
  @file: widget_punch.py
8
8
  @created: Thu, 20 Sep 2022
9
- @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior"
9
+ @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior
10
10
  @site: https://github.com/yorevs/hspylib
11
11
  @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
12
 
@@ -6,7 +6,7 @@
6
6
  @package: clitt.addons.widman.widgets
7
7
  @file: widget_send_msg.py
8
8
  @created: Thu, 26 Aug 2017
9
- @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior"
9
+ @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior
10
10
  @site: https://github.com/yorevs/hspylib
11
11
  @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
12
 
@@ -6,7 +6,7 @@
6
6
  @package: clitt.addons.widman.widgets
7
7
  @file: widget_time_calc.py
8
8
  @created: Thu, 20 May 2021
9
- @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior"
9
+ @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior
10
10
  @site: https://github.com/yorevs/hspylib
11
11
  @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
12
 
@@ -6,7 +6,7 @@
6
6
  @package: clitt.addons.widman
7
7
  @file: widman.py
8
8
  @created: Thu, 20 May 2021
9
- @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior"
9
+ @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior
10
10
  @site: https://github.com/yorevs/hspylib
11
11
  @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
12
 
@@ -1,6 +1,6 @@
1
1
  # _*_ coding: utf-8 _*_
2
2
  #
3
- # hspylib-clitt v0.9.126
3
+ # hspylib-clitt v0.9.128
4
4
  #
5
5
  # Package: main.clitt.core
6
6
  """Package initialization."""
@@ -12,4 +12,4 @@ __all__ = [
12
12
  'term',
13
13
  'tui'
14
14
  ]
15
- __version__ = '0.9.126'
15
+ __version__ = '0.9.128'
@@ -1,6 +1,6 @@
1
1
  # _*_ coding: utf-8 _*_
2
2
  #
3
- # hspylib-clitt v0.9.126
3
+ # hspylib-clitt v0.9.128
4
4
  #
5
5
  # Package: main.clitt.core.exception
6
6
  """Package initialization."""
@@ -8,4 +8,4 @@
8
8
  __all__ = [
9
9
  'exceptions'
10
10
  ]
11
- __version__ = '0.9.126'
11
+ __version__ = '0.9.128'
@@ -6,7 +6,7 @@
6
6
  @package: clitt.core.exceptions
7
7
  @file: exceptions.py
8
8
  @created: Fri, 7 Jul 2023
9
- @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior"
9
+ @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior
10
10
  @site: https://github.com/yorevs/hspylib
11
11
  @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
12
 
@@ -1,6 +1,6 @@
1
1
  # _*_ coding: utf-8 _*_
2
2
  #
3
- # hspylib-clitt v0.9.126
3
+ # hspylib-clitt v0.9.128
4
4
  #
5
5
  # Package: main.clitt.core.icons
6
6
  """Package initialization."""
@@ -9,4 +9,4 @@ __all__ = [
9
9
  'emojis',
10
10
  'font_awesome'
11
11
  ]
12
- __version__ = '0.9.126'
12
+ __version__ = '0.9.128'
@@ -1,6 +1,6 @@
1
1
  # _*_ coding: utf-8 _*_
2
2
  #
3
- # hspylib-clitt v0.9.126
3
+ # hspylib-clitt v0.9.128
4
4
  #
5
5
  # Package: main.clitt.core.icons.emojis
6
6
  """Package initialization."""
@@ -9,4 +9,4 @@ __all__ = [
9
9
  'emojis',
10
10
  'face_smiling'
11
11
  ]
12
- __version__ = '0.9.126'
12
+ __version__ = '0.9.128'
@@ -6,7 +6,7 @@
6
6
  @package: clitt.core.icons.emojis
7
7
  @file: emojis.py
8
8
  @created: Tue, 4 May 2021
9
- @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior"
9
+ @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior
10
10
  @site: https://github.com/yorevs/hspylib
11
11
  @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
12
 
@@ -6,7 +6,7 @@
6
6
  @package: clitt.core.icons.emojis
7
7
  @file: face_smiling.py
8
8
  @created: Tue, 4 May 2021
9
- @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior"
9
+ @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior
10
10
  @site: https://github.com/yorevs/hspylib
11
11
  @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
12
 
@@ -1,6 +1,6 @@
1
1
  # _*_ coding: utf-8 _*_
2
2
  #
3
- # hspylib-clitt v0.9.126
3
+ # hspylib-clitt v0.9.128
4
4
  #
5
5
  # Package: main.clitt.core.icons.font_awesome
6
6
  """Package initialization."""
@@ -15,4 +15,4 @@ __all__ = [
15
15
  'trickplay_icons',
16
16
  'widget_icons'
17
17
  ]
18
- __version__ = '0.9.126'
18
+ __version__ = '0.9.128'
@@ -6,7 +6,7 @@
6
6
  @package: clitt.core.icons.font_awesome
7
7
  @file: app_icons.py
8
8
  @created: Tue, 4 May 2021
9
- @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior"
9
+ @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior
10
10
  @site: https://github.com/yorevs/hspylib
11
11
  @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
12
 
@@ -6,7 +6,7 @@
6
6
  @package: clitt.core.icons.font_awesome
7
7
  @file: awesome.py
8
8
  @created: Tue, 4 May 2021
9
- @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior"
9
+ @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior
10
10
  @site: https://github.com/yorevs/hspylib
11
11
  @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
12
 
@@ -6,7 +6,7 @@
6
6
  @package: clitt.core.icons.font_awesome
7
7
  @file: dashboard_icons.py
8
8
  @created: Tue, 4 May 2021
9
- @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior"
9
+ @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior
10
10
  @site: https://github.com/yorevs/hspylib
11
11
  @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
12
 
@@ -6,7 +6,7 @@
6
6
  @package: clitt.core.icons.font_awesome
7
7
  @file: form_icons.py
8
8
  @created: Tue, 4 May 2021
9
- @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior"
9
+ @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior
10
10
  @site: https://github.com/yorevs/hspylib
11
11
  @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
12
 
@@ -6,7 +6,7 @@
6
6
  @package: clitt.core.icons.font_awesome
7
7
  @file: game_icons.py
8
8
  @created: Thu, 20 Jul 2023
9
- @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior"
9
+ @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior
10
10
  @site: https://github.com/yorevs/hspylib
11
11
  @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
12
 
@@ -6,7 +6,7 @@
6
6
  @package: clitt.core.icons.font_awesome
7
7
  @file: nav_icons.py
8
8
  @created: Tue, 4 May 2021
9
- @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior"
9
+ @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior
10
10
  @site: https://github.com/yorevs/hspylib
11
11
  @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
12
 
@@ -6,7 +6,7 @@
6
6
  @package: clitt.core.icons.font_awesome
7
7
  @file: trickplay_icons.py
8
8
  @created: Tue, 4 May 2021
9
- @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior"
9
+ @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior
10
10
  @site: https://github.com/yorevs/hspylib
11
11
  @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
12
 
@@ -6,7 +6,7 @@
6
6
  @package: clitt.core.icons.font_awesome
7
7
  @file: widget_icons.py
8
8
  @created: Thu, 20 May 2021
9
- @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior"
9
+ @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior
10
10
  @site: https://github.com/yorevs/hspylib
11
11
  @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
12
 
@@ -6,7 +6,7 @@
6
6
  @package: clitt.core
7
7
  @file: preferences.py
8
8
  @created: Fri, 7 Jul 2023
9
- @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior"
9
+ @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior
10
10
  @site: https://github.com/yorevs/hspylib
11
11
  @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
12
 
@@ -1,6 +1,6 @@
1
1
  # _*_ coding: utf-8 _*_
2
2
  #
3
- # hspylib-clitt v0.9.126
3
+ # hspylib-clitt v0.9.128
4
4
  #
5
5
  # Package: main.clitt.core.term
6
6
  """Package initialization."""
@@ -11,4 +11,4 @@ __all__ = [
11
11
  'screen',
12
12
  'terminal'
13
13
  ]
14
- __version__ = '0.9.126'
14
+ __version__ = '0.9.128'
@@ -6,7 +6,7 @@
6
6
  @package: hspylib-clitt.main.clitt.core.term
7
7
  @file: commons.py
8
8
  @created: Wed, 20 Mar 2024
9
- @author: "<B>H</B>ugo <B>S</B>aporetti <B>J</B>unior")"
9
+ @author: "<B>H</B>ugo <B>S</B>aporetti <B>J</B>unior
10
10
  @site: "https://github.com/yorevs/hspylib")
11
11
  @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
12
 
@@ -6,7 +6,7 @@
6
6
  @package: hspylib-clitt.main.clitt.core.term
7
7
  @file: cursor.py
8
8
  @created: Wed, 20 Mar 2024
9
- @author: "<B>H</B>ugo <B>S</B>aporetti <B>J</B>unior")"
9
+ @author: "<B>H</B>ugo <B>S</B>aporetti <B>J</B>unior
10
10
  @site: "https://github.com/yorevs/hspylib")
11
11
  @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
12
 
@@ -126,27 +126,28 @@ class Cursor(metaclass=Singleton):
126
126
  self.position = get_cursor_position() or self.position
127
127
  return self.position
128
128
 
129
- def write(self, obj: Any, end: str = "") -> Position:
129
+ def write(self, obj: Any = "", end: str = "", markdown: bool = False) -> Position:
130
130
  """Write the string representation of the object to the screen.
131
131
  :param obj the object to be written.
132
132
  :param end string appended after the last value, default a newline.
133
+ :param markdown: whether to print a markdown render.
133
134
  :return the cursor position after writing.
134
135
  """
135
- sysout(obj, end=end)
136
- text = (str(obj) + end).replace("%EOL%", os.linesep)
137
- text = VtColor.strip_colors(VtCode.strip_codes(text))
138
- text_offset = len(text[max(0, last_index_of(text, os.linesep)) :])
136
+ sysout(obj, end=end, markdown=markdown)
137
+ text: str = self.cleanup_text(str(obj) + end)
138
+ text_offset: int = self.offset_text(text)
139
139
  self.position = self.position[0] + text.count(os.linesep), text_offset + (
140
140
  self.position[1] if text.count(os.linesep) == 0 else 0
141
141
  )
142
142
  return self.position
143
143
 
144
- def writeln(self, obj: Any) -> Position:
144
+ def writeln(self, obj: Any = "", markdown: bool = False) -> Position:
145
145
  """Write the string representation of the object to the screen, appending a new line.
146
146
  :param obj the object to be written.
147
+ :param markdown: whether to print a markdown render.
147
148
  :return the cursor position after writing.
148
149
  """
149
- return self.write(obj, end=os.linesep)
150
+ return self.write(obj, end=os.linesep, markdown=markdown)
150
151
 
151
152
  def save(self) -> Position:
152
153
  """Save the current cursor position and attributes.
@@ -170,5 +171,14 @@ class Cursor(metaclass=Singleton):
170
171
  sysout(Vt100.mode(0), end=end)
171
172
  return self.position
172
173
 
174
+ def cleanup_text(self, text: str) -> str:
175
+ """TODO"""
176
+ return VtColor.strip_colors(VtCode.strip_codes(text.replace("%EOL%", os.linesep)))
177
+
178
+ def offset_text(self, text: str) -> int:
179
+ """TODO"""
180
+ text: str = self.cleanup_text(text)
181
+ return len(text[max(0, last_index_of(text, os.linesep)):])
182
+
173
183
 
174
184
  assert (cursor := Cursor().INSTANCE) is not None, "Failed to create Cursor instance"
@@ -6,7 +6,7 @@
6
6
  @package: hspylib-clitt.main.clitt.core.term
7
7
  @file: screen.py
8
8
  @created: Wed, 20 Mar 2024
9
- @author: "<B>H</B>ugo <B>S</B>aporetti <B>J</B>unior")"
9
+ @author: "<B>H</B>ugo <B>S</B>aporetti <B>J</B>unior
10
10
  @site: "https://github.com/yorevs/hspylib")
11
11
  @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
12
 
@@ -6,7 +6,7 @@
6
6
  @package: hspylib.modules.cli.vt100
7
7
  @file: terminal.py
8
8
  @created: Tue, 11 May 2021
9
- @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior"
9
+ @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior
10
10
  @site: https://github.com/yorevs/hspylib
11
11
  @license: MIT - Please refer to <https://opensource.org/licenses/MIT>
12
12
 
@@ -177,9 +177,13 @@ class Terminal(metaclass=Singleton):
177
177
  cls.INSTANCE.screen.clear()
178
178
 
179
179
  @classmethod
180
- def echo(cls, obj: Any, end: str = os.linesep) -> None:
181
- """Write the string representation of the object to the screen."""
182
- cls.INSTANCE.screen.cursor.write(obj, end=end)
180
+ def echo(cls, obj: Any = "", end: str = os.linesep, markdown: bool = False) -> None:
181
+ """Write the string representation of the object to the screen.
182
+ :param obj the object to be written.
183
+ :param end string appended after the last value, default a newline.
184
+ :param markdown: whether to print a markdown render.
185
+ """
186
+ cls.INSTANCE.screen.cursor.write(obj, end=end, markdown=markdown)
183
187
 
184
188
  @classmethod
185
189
  def alternate_screen(cls, enable: bool) -> None:
@@ -1,6 +1,6 @@
1
1
  # _*_ coding: utf-8 _*_
2
2
  #
3
- # hspylib-clitt v0.9.126
3
+ # hspylib-clitt v0.9.128
4
4
  #
5
5
  # Package: main.clitt.core.tui
6
6
  """Package initialization."""
@@ -17,4 +17,4 @@ __all__ = [
17
17
  'tui_component',
18
18
  'tui_preferences'
19
19
  ]
20
- __version__ = '0.9.126'
20
+ __version__ = '0.9.128'
@@ -1,6 +1,6 @@
1
1
  # _*_ coding: utf-8 _*_
2
2
  #
3
- # hspylib-clitt v0.9.126
3
+ # hspylib-clitt v0.9.128
4
4
  #
5
5
  # Package: main.clitt.core.tui.line_input
6
6
  """Package initialization."""
@@ -9,4 +9,4 @@ __all__ = [
9
9
  'keyboard_input',
10
10
  'line_input'
11
11
  ]
12
- __version__ = '0.9.126'
12
+ __version__ = '0.9.128'