tui-utilities 1.1.0__tar.gz → 1.1.1__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 tui-utilities might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tui_utilities
3
- Version: 1.1.0
3
+ Version: 1.1.1
4
4
  Summary: Personal-use console utilities library
5
5
  Author-email: Guido Iván Gross <grossguidoivan@gmail.com>
6
6
  License: MIT
@@ -68,13 +68,13 @@ Styled terminal interaction built on rich:
68
68
 
69
69
  Tools for building structures in console applications:
70
70
 
71
- - header(): prints a fully-personalized header, consisting of a title and a separator.
71
+ - header(): prints a styled header, consisting of a title and a separator.
72
72
 
73
73
  - menu(): creates interactive selection menus with automatic numbering and special options like "Go back" and "Exit".
74
74
 
75
75
  - confirm_exit(): confirmation dialog that exits the program safely.
76
76
 
77
- - separator(): prints a styled visual separator line.
77
+ - separator(): prints a fully-personalized visual separator line.
78
78
 
79
79
  - error_message(): displays formatted error information including:
80
80
 
@@ -52,13 +52,13 @@ Styled terminal interaction built on rich:
52
52
 
53
53
  Tools for building structures in console applications:
54
54
 
55
- - header(): prints a fully-personalized header, consisting of a title and a separator.
55
+ - header(): prints a styled header, consisting of a title and a separator.
56
56
 
57
57
  - menu(): creates interactive selection menus with automatic numbering and special options like "Go back" and "Exit".
58
58
 
59
59
  - confirm_exit(): confirmation dialog that exits the program safely.
60
60
 
61
- - separator(): prints a styled visual separator line.
61
+ - separator(): prints a fully-personalized visual separator line.
62
62
 
63
63
  - error_message(): displays formatted error information including:
64
64
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "tui_utilities"
3
- version = "1.1.0"
3
+ version = "1.1.1"
4
4
  description = "Personal-use console utilities library"
5
5
  readme = "README.md"
6
6
  license = {text = "MIT"}
@@ -62,7 +62,7 @@ def header(
62
62
  first_character = separator_first_character,
63
63
  separator_character = separator_separator_character,
64
64
  last_character = separator_last_character,
65
- length = separator_length if separator_length else len(title),
65
+ length = separator_length if separator_length else len(title) + 2,
66
66
  color = separator_color,
67
67
  aligment = separator_aligment,
68
68
  padding = separator_padding,
@@ -165,7 +165,7 @@ def separator(
165
165
  bottom_padding = None,
166
166
  left_padding = None
167
167
  ):
168
- print(first_character + separator_character * length - 2 + last_character,
168
+ print(first_character + f"{separator_character * length - 2}" + last_character,
169
169
  color = color,
170
170
  bold = True,
171
171
  alignment = aligment,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tui_utilities
3
- Version: 1.1.0
3
+ Version: 1.1.1
4
4
  Summary: Personal-use console utilities library
5
5
  Author-email: Guido Iván Gross <grossguidoivan@gmail.com>
6
6
  License: MIT
@@ -68,13 +68,13 @@ Styled terminal interaction built on rich:
68
68
 
69
69
  Tools for building structures in console applications:
70
70
 
71
- - header(): prints a fully-personalized header, consisting of a title and a separator.
71
+ - header(): prints a styled header, consisting of a title and a separator.
72
72
 
73
73
  - menu(): creates interactive selection menus with automatic numbering and special options like "Go back" and "Exit".
74
74
 
75
75
  - confirm_exit(): confirmation dialog that exits the program safely.
76
76
 
77
- - separator(): prints a styled visual separator line.
77
+ - separator(): prints a fully-personalized visual separator line.
78
78
 
79
79
  - error_message(): displays formatted error information including:
80
80
 
File without changes