pywebexec 1.4.3__py3-none-any.whl → 1.4.4__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.
- pywebexec/static/js/commands.js +9 -5
- pywebexec/version.py +2 -2
- {pywebexec-1.4.3.dist-info → pywebexec-1.4.4.dist-info}/METADATA +1 -1
- {pywebexec-1.4.3.dist-info → pywebexec-1.4.4.dist-info}/RECORD +8 -8
- {pywebexec-1.4.3.dist-info → pywebexec-1.4.4.dist-info}/LICENSE +0 -0
- {pywebexec-1.4.3.dist-info → pywebexec-1.4.4.dist-info}/WHEEL +0 -0
- {pywebexec-1.4.3.dist-info → pywebexec-1.4.4.dist-info}/entry_points.txt +0 -0
- {pywebexec-1.4.3.dist-info → pywebexec-1.4.4.dist-info}/top_level.txt +0 -0
pywebexec/static/js/commands.js
CHANGED
@@ -90,9 +90,11 @@ commandInput.addEventListener('keydown', (event) => {
|
|
90
90
|
} else if (event.key === 'ArrowDown') {
|
91
91
|
/*setCommandListPosition();*/
|
92
92
|
unfilterCommands();
|
93
|
-
commandListSelect.
|
94
|
-
|
95
|
-
|
93
|
+
if (commandListSelect.options.length > 1) {
|
94
|
+
commandListSelect.style.display = 'block';
|
95
|
+
commandListSelect.focus();
|
96
|
+
commandListSelect.selectedIndex = 0;
|
97
|
+
}
|
96
98
|
event.preventDefault();
|
97
99
|
}
|
98
100
|
});
|
@@ -161,11 +163,11 @@ commandInput.addEventListener('blur', (event) => {
|
|
161
163
|
showCommandListButton.addEventListener('click', (event) => {
|
162
164
|
event.preventDefault();
|
163
165
|
setCommandListPosition();
|
166
|
+
unfilterCommands();
|
164
167
|
if (commandListSelect.style.display == 'none')
|
165
168
|
commandListSelect.style.display = 'block';
|
166
169
|
else
|
167
170
|
commandListSelect.style.display = 'none';
|
168
|
-
unfilterCommands();
|
169
171
|
});
|
170
172
|
|
171
173
|
window.addEventListener('click', (event) => {
|
@@ -211,8 +213,10 @@ async function fetchExecutables() {
|
|
211
213
|
alert("Failed to fetch executables");
|
212
214
|
}
|
213
215
|
commandListSelect.size = Math.min(20, commandListSelect.options.length);
|
214
|
-
if (commandListSelect.options.length == 1)
|
216
|
+
if (commandListSelect.options.length == 1) {
|
215
217
|
commandInput.value = commandListSelect.options[0].text;
|
218
|
+
showCommandListButton.style.display = 'none';
|
219
|
+
}
|
216
220
|
if (commandListSelect.options.length == 0)
|
217
221
|
document.getElementById('launchForm').style.display = 'none';
|
218
222
|
|
pywebexec/version.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
pywebexec/__init__.py,sha256=4spIsVaF8RJt8S58AG_wWoORRNkws9Iwqprj27C3ljM,99
|
2
2
|
pywebexec/pywebexec.py,sha256=w5XUxh9rJqbVO4Um9fJb4DcBd-VoOGc6cNXBjPVPkm8,26003
|
3
|
-
pywebexec/version.py,sha256=
|
3
|
+
pywebexec/version.py,sha256=xV-8Yj_iWn4cgetLWs0HBzWrymonMn9cAMsYPhJoE9k,411
|
4
4
|
pywebexec/static/css/Consolas NF.ttf,sha256=DJEOzF0eqZ-kxu3Gs_VE8X0NJqiobBzmxWDGpdgGRxI,1313900
|
5
5
|
pywebexec/static/css/style.css,sha256=b02WQoXwVm00JpedEslvCHjr35txo2Bfjz3Iboco9U8,5500
|
6
6
|
pywebexec/static/css/xterm.css,sha256=gy8_LGA7Q61DUf8ElwFQzHqHMBQnbbEmpgZcbdgeSHI,5383
|
@@ -12,7 +12,7 @@ pywebexec/static/images/failed.svg,sha256=ADZ7IKrUyOXtqpivnz3VcH0-Wru-I5MOi3OJAk
|
|
12
12
|
pywebexec/static/images/favicon.svg,sha256=ti80IfuDZwIvQcmJxkOeUaB1iMsiyOPmQmVO-h0y1IU,1126
|
13
13
|
pywebexec/static/images/running.gif,sha256=iYuzQGkMxrakSIwt6gPieKCImGZoSAHmU5MUNZa7cpw,25696
|
14
14
|
pywebexec/static/images/success.svg,sha256=PJDcCSTevJh7rkfSFLtc7P0pbeh8PVQBS8DaOLQemmc,489
|
15
|
-
pywebexec/static/js/commands.js,sha256=
|
15
|
+
pywebexec/static/js/commands.js,sha256=8JDb3Q55EJOYf2Q9Uy6qEuqAnn1oGjM0RndgQ4aOjqo,7725
|
16
16
|
pywebexec/static/js/script.js,sha256=_Z1P65x-s_heHMwXbVpPHJHqfQKcIZavVhRej6i3DIs,11570
|
17
17
|
pywebexec/static/js/xterm/LICENSE,sha256=EU1P4eXTull-_T9I80VuwnJXubB-zLzUl3xpEYj2T1M,1083
|
18
18
|
pywebexec/static/js/xterm/ansi_up.min.js,sha256=KNGV0vEr30hNqKQimTAvGVy-icD5A1JqMQTtvYtKR2Y,13203
|
@@ -20,9 +20,9 @@ pywebexec/static/js/xterm/xterm-addon-fit.js,sha256=Pprm9pZe4SadVXS5Bc8b9VnC9Ex4
|
|
20
20
|
pywebexec/static/js/xterm/xterm.js,sha256=Bzka76jZwEhVt_LlS0e0qMw7ryGa1p5qfxFyeohphBo,283371
|
21
21
|
pywebexec/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
22
22
|
pywebexec/templates/index.html,sha256=DYtT555wSNhnFtzzHhPMWJireynCJNnAuTytpoORQeE,2321
|
23
|
-
pywebexec-1.4.
|
24
|
-
pywebexec-1.4.
|
25
|
-
pywebexec-1.4.
|
26
|
-
pywebexec-1.4.
|
27
|
-
pywebexec-1.4.
|
28
|
-
pywebexec-1.4.
|
23
|
+
pywebexec-1.4.4.dist-info/LICENSE,sha256=gRJf0JPT_wsZJsUGlWPTS8Vypfl9vQ1qjp6sNbKykuA,1064
|
24
|
+
pywebexec-1.4.4.dist-info/METADATA,sha256=i4YUI4geBmEf-1CGE_YwcZzMIyF0CXZtIMZjHIbus3o,7399
|
25
|
+
pywebexec-1.4.4.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
26
|
+
pywebexec-1.4.4.dist-info/entry_points.txt,sha256=l52GBkPCXRkmlHfEyoVauyfBdg8o-CAtC8qQpOIjJK0,55
|
27
|
+
pywebexec-1.4.4.dist-info/top_level.txt,sha256=vHoHyzngrfGdm_nM7Xn_5iLmaCrf10XO1EhldgNLEQ8,10
|
28
|
+
pywebexec-1.4.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|