multiSSH3 5.46__py3-none-any.whl → 5.47__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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: multiSSH3
3
- Version: 5.46
3
+ Version: 5.47
4
4
  Summary: Run commands on multiple hosts via SSH
5
5
  Home-page: https://github.com/yufei-pan/multiSSH3
6
6
  Author: Yufei Pan
@@ -0,0 +1,6 @@
1
+ multiSSH3.py,sha256=fLoImfnt8GQDs9kLWsySLcFFcB7yXyprRMfntEz_-jk,135786
2
+ multiSSH3-5.47.dist-info/METADATA,sha256=b9DlbOVp-wi3Lu7nU5MuVcSk6CFZpAcdBDV02N_e328,18001
3
+ multiSSH3-5.47.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
4
+ multiSSH3-5.47.dist-info/entry_points.txt,sha256=xi2rWWNfmHx6gS8Mmx0rZL2KZz6XWBYP3DWBpWAnnZ0,143
5
+ multiSSH3-5.47.dist-info/top_level.txt,sha256=tUwttxlnpLkZorSsroIprNo41lYSxjd2ASuL8-EJIJw,10
6
+ multiSSH3-5.47.dist-info/RECORD,,
multiSSH3.py CHANGED
@@ -46,7 +46,7 @@ except AttributeError:
46
46
  # If neither is available, use a dummy decorator
47
47
  def cache_decorator(func):
48
48
  return func
49
- version = '5.46'
49
+ version = '5.47'
50
50
  VERSION = version
51
51
  COMMIT_DATE = '2025-01-30'
52
52
 
@@ -1879,7 +1879,11 @@ def __generate_display(stdscr, hosts, lineToDisplay = -1,curserPosition = 0, min
1879
1879
  # with open('keylog.txt','a') as f:
1880
1880
  # f.write(str(key)+'\n')
1881
1881
  if key == 410: # 410 is the key code for resize
1882
- return (lineToDisplay,curserPosition , min_char_len, min_line_len, single_window, 'Terminal resize requested')
1882
+ return (lineToDisplay,curserPosition , min_char_len, min_line_len, single_window, 'Terminal resize requested')
1883
+ # if the user pressed ctrl + d and the last line is empty, we will exit by adding 'exit\n' to the last line
1884
+ elif key == 4 and not __keyPressesIn[-1]:
1885
+ __keyPressesIn[-1].extend('exit\n')
1886
+ __keyPressesIn.append([])
1883
1887
  elif key == 95 and not __keyPressesIn[-1]: # 95 is the key code for _
1884
1888
  # if last line is empty, we will reconfigure the wh to be smaller
1885
1889
  if min_line_len != 1:
@@ -1,6 +0,0 @@
1
- multiSSH3.py,sha256=zwE1pgmNe285WDdv8E1eSOyDlxocrHtryWh-mnc8lGM,135558
2
- multiSSH3-5.46.dist-info/METADATA,sha256=WWIQS5igJ0S3Yrr27PpXOlv2IGdLYHvZfoQ2SB2bamg,18001
3
- multiSSH3-5.46.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
4
- multiSSH3-5.46.dist-info/entry_points.txt,sha256=xi2rWWNfmHx6gS8Mmx0rZL2KZz6XWBYP3DWBpWAnnZ0,143
5
- multiSSH3-5.46.dist-info/top_level.txt,sha256=tUwttxlnpLkZorSsroIprNo41lYSxjd2ASuL8-EJIJw,10
6
- multiSSH3-5.46.dist-info/RECORD,,