|
Lines 33-42
Link Here
|
| 33 |
Elogv is a portage elog viewer based on curses and python, |
33 |
Elogv is a portage elog viewer based on curses and python, |
| 34 |
you can use these keys to control the behavior of the program: |
34 |
you can use these keys to control the behavior of the program: |
| 35 |
|
35 |
|
| 36 |
- Down arrow or k -> Scroll the list of files down by 1 unit |
36 |
- Down arrow or j -> Scroll the list of files down by 1 unit |
| 37 |
- Up arrow or j -> opposite of Down arrow |
37 |
- Up arrow or k -> opposite of Down arrow |
| 38 |
- PageDown -> Scroll the list down by 10 unit |
38 |
- PageDown -> Scroll the list down by 10 unit |
| 39 |
- PageUp -> opposite of Pag Down |
39 |
- PageUp -> opposite of PageDown |
| 40 |
- End -> Go to the last file of the list |
40 |
- End -> Go to the last file of the list |
| 41 |
- Home -> Go to the first file of the list |
41 |
- Home -> Go to the first file of the list |
| 42 |
- t -> order the list of files by date, most recent on top |
42 |
- t -> order the list of files by date, most recent on top |
|
Lines 108-117
Link Here
|
| 108 |
sys.exit() |
108 |
sys.exit() |
| 109 |
|
109 |
|
| 110 |
## Scrolling keys ## |
110 |
## Scrolling keys ## |
| 111 |
elif c == curses.KEY_DOWN or c == ord("k"): |
111 |
elif c == curses.KEY_DOWN or c == ord("j"): |
| 112 |
self.change_usel(1) |
112 |
self.change_usel(1) |
| 113 |
|
113 |
|
| 114 |
elif c == curses.KEY_UP or c == ord("j"): |
114 |
elif c == curses.KEY_UP or c == ord("k"): |
| 115 |
self.change_usel(-1) |
115 |
self.change_usel(-1) |
| 116 |
|
116 |
|
| 117 |
elif c == curses.KEY_NPAGE: |
117 |
elif c == curses.KEY_NPAGE: |