multiSSH3 5.33__py3-none-any.whl → 5.34__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.
Potentially problematic release.
This version of multiSSH3 might be problematic. Click here for more details.
- {multiSSH3-5.33.dist-info → multiSSH3-5.34.dist-info}/METADATA +1 -1
- multiSSH3-5.34.dist-info/RECORD +7 -0
- multiSSH3.py +3 -3
- multiSSH3-5.33.dist-info/RECORD +0 -7
- {multiSSH3-5.33.dist-info → multiSSH3-5.34.dist-info}/LICENSE +0 -0
- {multiSSH3-5.33.dist-info → multiSSH3-5.34.dist-info}/WHEEL +0 -0
- {multiSSH3-5.33.dist-info → multiSSH3-5.34.dist-info}/entry_points.txt +0 -0
- {multiSSH3-5.33.dist-info → multiSSH3-5.34.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
multiSSH3.py,sha256=URzvRbak_B3LjbFT21dbhPo2BN6xhpEISAT6xYRklOM,136203
|
|
2
|
+
multiSSH3-5.34.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
3
|
+
multiSSH3-5.34.dist-info/METADATA,sha256=CsHgr828Ga8I1m9dau8hsEZk9owYaTUfWFRocQqSm_o,18160
|
|
4
|
+
multiSSH3-5.34.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
5
|
+
multiSSH3-5.34.dist-info/entry_points.txt,sha256=xi2rWWNfmHx6gS8Mmx0rZL2KZz6XWBYP3DWBpWAnnZ0,143
|
|
6
|
+
multiSSH3-5.34.dist-info/top_level.txt,sha256=tUwttxlnpLkZorSsroIprNo41lYSxjd2ASuL8-EJIJw,10
|
|
7
|
+
multiSSH3-5.34.dist-info/RECORD,,
|
multiSSH3.py
CHANGED
|
@@ -37,7 +37,7 @@ except AttributeError:
|
|
|
37
37
|
# If neither is available, use a dummy decorator
|
|
38
38
|
def cache_decorator(func):
|
|
39
39
|
return func
|
|
40
|
-
version = '5.
|
|
40
|
+
version = '5.34'
|
|
41
41
|
VERSION = version
|
|
42
42
|
|
|
43
43
|
CONFIG_FILE = '/etc/multiSSH3.config.json'
|
|
@@ -1962,9 +1962,8 @@ def __generate_display(stdscr, hosts, lineToDisplay = -1,curserPosition = 0, min
|
|
|
1962
1962
|
# we use the stat bar to display the key presses
|
|
1963
1963
|
encodedLine = ''.join(__keyPressesIn[lineToDisplay]).encode().decode().strip('\n') + ' '
|
|
1964
1964
|
#stats = '┍'+ f"Send CMD: {encodedLine}"[:max_x - 2].center(max_x - 2, "━")
|
|
1965
|
-
stats = f"Send CMD: {encodedLine}"
|
|
1966
1965
|
# format the stats line with chracter at curser position inverted using ansi escape sequence
|
|
1967
|
-
stats = f'{
|
|
1966
|
+
stats = f'Send CMD: {encodedLine[:curserPosition]}\x1b[7m{encodedLine[curserPosition]}\x1b[0m{encodedLine[curserPosition + 1:] if curserPosition < len(encodedLine) else ""}'
|
|
1968
1967
|
if stats != old_stat :
|
|
1969
1968
|
old_stat = stats
|
|
1970
1969
|
# calculate the real curser position in stats as we centered the stats
|
|
@@ -1980,6 +1979,7 @@ def __generate_display(stdscr, hosts, lineToDisplay = -1,curserPosition = 0, min
|
|
|
1980
1979
|
# stat_window.addnstr(0, curserPositionStats + 1, stats[curserPositionStats + 1:], max_x - 1 - curserPositionStats)
|
|
1981
1980
|
# stat_window.refresh()
|
|
1982
1981
|
_curses_add_string_to_window(window=stat_window, y=0, line=stats, color_pair_list=[-1, -1, 1],centered=True,fill_char='━',lead_str='┍',box_ansi_color=box_ansi_color)
|
|
1982
|
+
stat_window.refresh()
|
|
1983
1983
|
if bottom_border:
|
|
1984
1984
|
#target_length = max_x - 2 + len('\x1b[33m\x1b[0m\x1b[31m\x1b[0m\x1b[32m\x1b[0m')
|
|
1985
1985
|
#bottom_stats = '└'+ f" Total: {len(hosts)} Running: \x1b[33m{host_stats['running']}\x1b[0m Failed: \x1b[31m{host_stats['failed']}\x1b[0m Finished: \x1b[32m{host_stats['finished']}\x1b[0m Waiting: {host_stats['waiting']} "[:target_length].center(target_length, "─")
|
multiSSH3-5.33.dist-info/RECORD
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
multiSSH3.py,sha256=wvogBIsm9WVIeLcJdJkIfev39-o1QyJmt6EC3uJFU2o,136143
|
|
2
|
-
multiSSH3-5.33.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
3
|
-
multiSSH3-5.33.dist-info/METADATA,sha256=8EPnbWXF-5qPC1wpUFi-k-fU0gv27xLYz20jKo2xFjI,18160
|
|
4
|
-
multiSSH3-5.33.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
5
|
-
multiSSH3-5.33.dist-info/entry_points.txt,sha256=xi2rWWNfmHx6gS8Mmx0rZL2KZz6XWBYP3DWBpWAnnZ0,143
|
|
6
|
-
multiSSH3-5.33.dist-info/top_level.txt,sha256=tUwttxlnpLkZorSsroIprNo41lYSxjd2ASuL8-EJIJw,10
|
|
7
|
-
multiSSH3-5.33.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|