File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,28 @@ jobs:
16
16
- name : install fuse
17
17
run : |
18
18
sudo apt-get update --fix-missing
19
- sudo apt-get install -y -f -o Acquire::Retries=3 fuse
19
+ sudo apt-get install -y -f -o Acquire::Retries=3 fuse python
20
20
21
21
- name : configure
22
22
run : ./configure.sh --release
23
23
24
24
- name : make
25
25
run : make appimage-bld/osc-tui-x86_64.AppImage
26
26
27
+ - name : twine
28
+ run : |
29
+ python -m venv env
30
+ . .venv/bin/activate
31
+ python -m pip install -e .
32
+ python -m pip install --upgrade build
33
+ python -m pip install --upgrade twine
34
+ python -m build
35
+ twine upload --verbose dist/*
36
+ env :
37
+ TWINE_USERNAME : " __token__"
38
+ TWINE_PASSWORD : ${{ secrets.PIP_TOKEN }}
39
+
40
+
27
41
- uses : " marvinpinto/action-automatic-releases@latest"
28
42
with :
29
43
repo_token : " ${{ secrets.TOKEN }}"
Original file line number Diff line number Diff line change 7
7
8
8
import osc_sdk_python
9
9
10
+ import time
11
+
10
12
from osc_tui import createImage
11
13
from osc_tui import createKeyPair
12
14
from osc_tui import createSnapshot
@@ -231,6 +233,7 @@ def set_up_handlers(self):
231
233
super ().set_up_handlers ()
232
234
self .add_handlers ({curses .KEY_RIGHT : self .h_exit_down })
233
235
self .add_handlers ({curses .KEY_LEFT : self .h_exit_up })
236
+ #self.add_handlers({curses.ascii.TAB: self.h_exit_up})
234
237
235
238
def h_cursor_line_up (self , input ):
236
239
super ().h_cursor_line_up (input )
@@ -436,6 +439,7 @@ def switch_to_keypairs(self, _):
436
439
437
440
def set_up_handlers (self ):
438
441
super ().set_up_handlers ()
442
+
439
443
self .add_handlers ({"q" : self .quit_key })
440
444
self .add_handlers ({"^Q" : quit })
441
445
self .add_handlers ({"h" : popup .showHelp })
You can’t perform that action at this time.
0 commit comments