Rename 'xdg-open' action to 'open'.
- Debian is renaming xdg-open to open. - Rename 'orient' to 'turn'.
This commit is contained in:
parent
e76d0bd03d
commit
42bf4d2582
4 changed files with 11 additions and 11 deletions
|
|
@ -73,7 +73,7 @@ KEYS_DOC = """Keys:
|
||||||
tab - Change the focus between summary and result pane.
|
tab - Change the focus between summary and result pane.
|
||||||
q, esc - Quit.
|
q, esc - Quit.
|
||||||
h - Show the help screen. (toggle)
|
h - Show the help screen. (toggle)
|
||||||
o - Orient the result pane as portrait or landscape. (toggle)
|
t - Turn the result pane to portrait or landscape. (toggle)
|
||||||
l - Show the activity log. (toggle)
|
l - Show the activity log. (toggle)
|
||||||
e - Edit the current file with an editor defined by -e, $EDITOR or $VISUAL.
|
e - Edit the current file with an editor defined by -e, $EDITOR or $VISUAL.
|
||||||
n - Move to the next issue.
|
n - Move to the next issue.
|
||||||
|
|
@ -82,7 +82,7 @@ KEYS_DOC = """Keys:
|
||||||
r - Refresh the currently selected report.
|
r - Refresh the currently selected report.
|
||||||
R - Refresh all reports of the current tool.
|
R - Refresh all reports of the current tool.
|
||||||
f - Resize the focused pane to the full screen. (toggle)
|
f - Resize the focused pane to the full screen. (toggle)
|
||||||
x - Open the current file with xdg-open.
|
o - Open the current file with xdg-open.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -985,8 +985,8 @@ class Screen:
|
||||||
"line " + str(y+1))
|
"line " + str(y+1))
|
||||||
|
|
||||||
_STATUS_BAR = highlight_chars(
|
_STATUS_BAR = highlight_chars(
|
||||||
" *help *quit *t*a*b:focus *orient *log *edit *next *sort"
|
" *help *quit *t*a*b:focus *turn *log *edit *next *sort"
|
||||||
" *refresh *fullscreen *xdg-open", Log._GREEN_STYLE)
|
" *refresh *fullscreen *open", Log._GREEN_STYLE)
|
||||||
|
|
||||||
@functools.lru_cache()
|
@functools.lru_cache()
|
||||||
def _get_partial_bar_chars(self, bar_transparency):
|
def _get_partial_bar_chars(self, bar_transparency):
|
||||||
|
|
@ -1037,7 +1037,7 @@ class Screen:
|
||||||
else fill3.appearance_resize(result, dimensions))
|
else fill3.appearance_resize(result, dimensions))
|
||||||
|
|
||||||
_KEY_MAP = {
|
_KEY_MAP = {
|
||||||
"o": toggle_window_orientation, "l": toggle_log, "h": toggle_help,
|
"t": toggle_window_orientation, "l": toggle_log, "h": toggle_help,
|
||||||
terminal.UP_KEY: cursor_up, terminal.DOWN_KEY: cursor_down,
|
terminal.UP_KEY: cursor_up, terminal.DOWN_KEY: cursor_down,
|
||||||
terminal.LEFT_KEY: cursor_left, terminal.RIGHT_KEY: cursor_right,
|
terminal.LEFT_KEY: cursor_left, terminal.RIGHT_KEY: cursor_right,
|
||||||
terminal.PAGE_DOWN_KEY: cursor_page_down,
|
terminal.PAGE_DOWN_KEY: cursor_page_down,
|
||||||
|
|
@ -1046,7 +1046,7 @@ class Screen:
|
||||||
"n": move_to_next_issue, "N": move_to_next_issue_of_tool,
|
"n": move_to_next_issue, "N": move_to_next_issue_of_tool,
|
||||||
"e": edit_file, "q": quit_, terminal.ESC: quit_, "r": refresh,
|
"e": edit_file, "q": quit_, terminal.ESC: quit_, "r": refresh,
|
||||||
"R": refresh_tool, "\t": toggle_focus, "f": toggle_fullscreen,
|
"R": refresh_tool, "\t": toggle_focus, "f": toggle_fullscreen,
|
||||||
"x": xdg_open}
|
"o": xdg_open}
|
||||||
|
|
||||||
|
|
||||||
def setup_inotify(root_path, loop, on_filesystem_event, exclude_filter):
|
def setup_inotify(root_path, loop, on_filesystem_event, exclude_filter):
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
│ tab - Change the focus between summary and result pane. │
|
│ tab - Change the focus between summary and result pane. │
|
||||||
│ q, esc - Quit. │
|
│ q, esc - Quit. │
|
||||||
│ h - Show the help screen. (toggle) │
|
│ h - Show the help screen. (toggle) │
|
||||||
│ o - Orient the result pane as portrait or landscape. (toggle) │
|
│ t - Turn the result pane to portrait or landscape. (toggle) │
|
||||||
│ l - Show the activity log. (toggle) │
|
│ l - Show the activity log. (toggle) │
|
||||||
│ e - Edit the current file with an editor defined by -e, $EDITOR or $VISUAL. │
|
│ e - Edit the current file with an editor defined by -e, $EDITOR or $VISUAL. │
|
||||||
│ n - Move to the next issue. │
|
│ n - Move to the next issue. │
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
│ r - Refresh the currently selected report. │
|
│ r - Refresh the currently selected report. │
|
||||||
│ R - Refresh all reports of the current tool. │
|
│ R - Refresh all reports of the current tool. │
|
||||||
│ f - Resize the focused pane to the full screen. (toggle) │
|
│ f - Resize the focused pane to the full screen. (toggle) │
|
||||||
│ x - Open the current file with xdg-open. │
|
│ o - Open the current file with xdg-open. │
|
||||||
│ │
|
│ │
|
||||||
│Statuses: │
|
│Statuses: │
|
||||||
│ [m[38;2;255;255;255m[48;2;0;159;107m [m[38;2;255;255;255m[48;2;0;0;0m Ok │
|
│ [m[38;2;255;255;255m[48;2;0;159;107m [m[38;2;255;255;255m[48;2;0;0;0m Ok │
|
||||||
|
|
@ -57,4 +57,4 @@
|
||||||
│ │
|
│ │
|
||||||
│ │
|
│ │
|
||||||
└──────────────────────────────────────────────────────────────────────────────────────────────────┘
|
└──────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||||
[m[38;2;255;255;255m[48;2;76;76;76m [m[38;2;76;255;76m[48;2;76;76;76mh[m[38;2;255;255;255m[48;2;76;76;76melp [m[38;2;76;255;76m[48;2;76;76;76mq[m[38;2;255;255;255m[48;2;76;76;76muit [m[38;2;76;255;76m[48;2;76;76;76mtab[m[38;2;255;255;255m[48;2;76;76;76m:focus [m[38;2;76;255;76m[48;2;76;76;76mo[m[38;2;255;255;255m[48;2;76;76;76mrient [m[38;2;76;255;76m[48;2;76;76;76ml[m[38;2;255;255;255m[48;2;76;76;76mog [m[38;2;76;255;76m[48;2;76;76;76me[m[38;2;255;255;255m[48;2;76;76;76mdit [m[38;2;76;255;76m[48;2;76;76;76mn[m[38;2;255;255;255m[48;2;76;76;76mext [m[38;2;76;255;76m[48;2;76;76;76ms[m[38;2;255;255;255m[48;2;76;76;76mort [m[38;2;76;255;76m[48;2;76;76;76mr[m[38;2;255;255;255m[48;2;76;76;76mefresh [m[38;2;76;255;76m[48;2;76;76;76mf[m[38;2;255;255;255m[48;2;76;76;76mullscreen [m[38;2;76;255;76m[48;2;76;76;76mx[m[38;2;255;255;255m[48;2;76;76;76mdg-open [m
|
[m[38;2;255;255;255m[48;2;76;76;76m [m[38;2;76;255;76m[48;2;76;76;76mh[m[38;2;255;255;255m[48;2;76;76;76melp [m[38;2;76;255;76m[48;2;76;76;76mq[m[38;2;255;255;255m[48;2;76;76;76muit [m[38;2;76;255;76m[48;2;76;76;76mtab[m[38;2;255;255;255m[48;2;76;76;76m:focus [m[38;2;76;255;76m[48;2;76;76;76mt[m[38;2;255;255;255m[48;2;76;76;76murn [m[38;2;76;255;76m[48;2;76;76;76ml[m[38;2;255;255;255m[48;2;76;76;76mog [m[38;2;76;255;76m[48;2;76;76;76me[m[38;2;255;255;255m[48;2;76;76;76mdit [m[38;2;76;255;76m[48;2;76;76;76mn[m[38;2;255;255;255m[48;2;76;76;76mext [m[38;2;76;255;76m[48;2;76;76;76ms[m[38;2;255;255;255m[48;2;76;76;76mort [m[38;2;76;255;76m[48;2;76;76;76mr[m[38;2;255;255;255m[48;2;76;76;76mefresh [m[38;2;76;255;76m[48;2;76;76;76mf[m[38;2;255;255;255m[48;2;76;76;76mullscreen [m[38;2;76;255;76m[48;2;76;76;76mo[m[38;2;255;255;255m[48;2;76;76;76mpen [m
|
||||||
|
|
@ -57,4 +57,4 @@
|
||||||
[m[38;2;100;100;100m[48;2;0;0;0m│[m[38;2;255;255;255m[48;2;0;0;0m [m[38;2;100;100;100m[48;2;0;0;0m││[m[38;2;255;255;255m[48;2;0;0;0m [m[38;2;100;100;100m[48;2;0;0;0m│[m[38;2;255;255;255m[48;2;0;0;0m
|
[m[38;2;100;100;100m[48;2;0;0;0m│[m[38;2;255;255;255m[48;2;0;0;0m [m[38;2;100;100;100m[48;2;0;0;0m││[m[38;2;255;255;255m[48;2;0;0;0m [m[38;2;100;100;100m[48;2;0;0;0m│[m[38;2;255;255;255m[48;2;0;0;0m
|
||||||
[m[38;2;100;100;100m[48;2;0;0;0m│[m[38;2;255;255;255m[48;2;0;0;0m [m[38;2;100;100;100m[48;2;0;0;0m││[m[38;2;255;255;255m[48;2;0;0;0m [m[38;2;100;100;100m[48;2;0;0;0m│[m[38;2;255;255;255m[48;2;0;0;0m
|
[m[38;2;100;100;100m[48;2;0;0;0m│[m[38;2;255;255;255m[48;2;0;0;0m [m[38;2;100;100;100m[48;2;0;0;0m││[m[38;2;255;255;255m[48;2;0;0;0m [m[38;2;100;100;100m[48;2;0;0;0m│[m[38;2;255;255;255m[48;2;0;0;0m
|
||||||
[m[38;2;100;100;100m[48;2;0;0;0m└────────────────────────────────────┘└────────────────────────────────────────────────────────────┘[m[38;2;255;255;255m[48;2;0;0;0m
|
[m[38;2;100;100;100m[48;2;0;0;0m└────────────────────────────────────┘└────────────────────────────────────────────────────────────┘[m[38;2;255;255;255m[48;2;0;0;0m
|
||||||
[m[38;2;255;255;255m[48;2;76;76;76m [m[38;2;76;255;76m[48;2;76;76;76mh[m[38;2;255;255;255m[48;2;76;76;76melp [m[38;2;76;255;76m[48;2;76;76;76mq[m[38;2;255;255;255m[48;2;76;76;76muit [m[38;2;76;255;76m[48;2;76;76;76mtab[m[38;2;255;255;255m[48;2;76;76;76m:focus [m[38;2;76;255;76m[48;2;76;76;76mo[m[38;2;255;255;255m[48;2;76;76;76mrient [m[38;2;76;255;76m[48;2;76;76;76ml[m[38;2;255;255;255m[48;2;76;76;76mog [m[38;2;76;255;76m[48;2;76;76;76me[m[38;2;255;255;255m[48;2;76;76;76mdit [m[38;2;76;255;76m[48;2;76;76;76mn[m[38;2;255;255;255m[48;2;76;76;76mext [m[38;2;76;255;76m[48;2;76;76;76ms[m[38;2;255;255;255m[48;2;76;76;76mort [m[38;2;76;255;76m[48;2;76;76;76mr[m[38;2;255;255;255m[48;2;76;76;76mefresh [m[38;2;76;255;76m[48;2;76;76;76mf[m[38;2;255;255;255m[48;2;76;76;76mullscreen [m[38;2;76;255;76m[48;2;76;76;76mx[m[38;2;255;255;255m[48;2;76;76;76mdg-open [m
|
[m[38;2;255;255;255m[48;2;76;76;76m [m[38;2;76;255;76m[48;2;76;76;76mh[m[38;2;255;255;255m[48;2;76;76;76melp [m[38;2;76;255;76m[48;2;76;76;76mq[m[38;2;255;255;255m[48;2;76;76;76muit [m[38;2;76;255;76m[48;2;76;76;76mtab[m[38;2;255;255;255m[48;2;76;76;76m:focus [m[38;2;76;255;76m[48;2;76;76;76mt[m[38;2;255;255;255m[48;2;76;76;76murn [m[38;2;76;255;76m[48;2;76;76;76ml[m[38;2;255;255;255m[48;2;76;76;76mog [m[38;2;76;255;76m[48;2;76;76;76me[m[38;2;255;255;255m[48;2;76;76;76mdit [m[38;2;76;255;76m[48;2;76;76;76mn[m[38;2;255;255;255m[48;2;76;76;76mext [m[38;2;76;255;76m[48;2;76;76;76ms[m[38;2;255;255;255m[48;2;76;76;76mort [m[38;2;76;255;76m[48;2;76;76;76mr[m[38;2;255;255;255m[48;2;76;76;76mefresh [m[38;2;76;255;76m[48;2;76;76;76mf[m[38;2;255;255;255m[48;2;76;76;76mullscreen [m[38;2;76;255;76m[48;2;76;76;76mo[m[38;2;255;255;255m[48;2;76;76;76mpen [m
|
||||||
|
|
@ -57,4 +57,4 @@
|
||||||
[m[38;2;100;100;100m[48;2;0;0;0m│[m[38;2;255;255;255m[48;2;0;0;0m [m[38;2;100;100;100m[48;2;0;0;0m│[m[38;2;255;255;255m[48;2;0;0;0m
|
[m[38;2;100;100;100m[48;2;0;0;0m│[m[38;2;255;255;255m[48;2;0;0;0m [m[38;2;100;100;100m[48;2;0;0;0m│[m[38;2;255;255;255m[48;2;0;0;0m
|
||||||
[m[38;2;100;100;100m[48;2;0;0;0m│[m[38;2;255;255;255m[48;2;0;0;0m [m[38;2;100;100;100m[48;2;0;0;0m│[m[38;2;255;255;255m[48;2;0;0;0m
|
[m[38;2;100;100;100m[48;2;0;0;0m│[m[38;2;255;255;255m[48;2;0;0;0m [m[38;2;100;100;100m[48;2;0;0;0m│[m[38;2;255;255;255m[48;2;0;0;0m
|
||||||
[m[38;2;100;100;100m[48;2;0;0;0m└──────────────────────────────────────────────────────────────────────────────────────────────────┘[m[38;2;255;255;255m[48;2;0;0;0m
|
[m[38;2;100;100;100m[48;2;0;0;0m└──────────────────────────────────────────────────────────────────────────────────────────────────┘[m[38;2;255;255;255m[48;2;0;0;0m
|
||||||
[m[38;2;255;255;255m[48;2;76;76;76m [m[38;2;76;255;76m[48;2;76;76;76mh[m[38;2;255;255;255m[48;2;76;76;76melp [m[38;2;76;255;76m[48;2;76;76;76mq[m[38;2;255;255;255m[48;2;76;76;76muit [m[38;2;76;255;76m[48;2;76;76;76mtab[m[38;2;255;255;255m[48;2;76;76;76m:focus [m[38;2;76;255;76m[48;2;76;76;76mo[m[38;2;255;255;255m[48;2;76;76;76mrient [m[38;2;76;255;76m[48;2;76;76;76ml[m[38;2;255;255;255m[48;2;76;76;76mog [m[38;2;76;255;76m[48;2;76;76;76me[m[38;2;255;255;255m[48;2;76;76;76mdit [m[38;2;76;255;76m[48;2;76;76;76mn[m[38;2;255;255;255m[48;2;76;76;76mext [m[38;2;76;255;76m[48;2;76;76;76ms[m[38;2;255;255;255m[48;2;76;76;76mort [m[38;2;76;255;76m[48;2;76;76;76mr[m[38;2;255;255;255m[48;2;76;76;76mefresh [m[38;2;76;255;76m[48;2;76;76;76mf[m[38;2;255;255;255m[48;2;76;76;76mullscreen [m[38;2;76;255;76m[48;2;76;76;76mx[m[38;2;255;255;255m[48;2;76;76;76mdg-open [m
|
[m[38;2;255;255;255m[48;2;76;76;76m [m[38;2;76;255;76m[48;2;76;76;76mh[m[38;2;255;255;255m[48;2;76;76;76melp [m[38;2;76;255;76m[48;2;76;76;76mq[m[38;2;255;255;255m[48;2;76;76;76muit [m[38;2;76;255;76m[48;2;76;76;76mtab[m[38;2;255;255;255m[48;2;76;76;76m:focus [m[38;2;76;255;76m[48;2;76;76;76mt[m[38;2;255;255;255m[48;2;76;76;76murn [m[38;2;76;255;76m[48;2;76;76;76ml[m[38;2;255;255;255m[48;2;76;76;76mog [m[38;2;76;255;76m[48;2;76;76;76me[m[38;2;255;255;255m[48;2;76;76;76mdit [m[38;2;76;255;76m[48;2;76;76;76mn[m[38;2;255;255;255m[48;2;76;76;76mext [m[38;2;76;255;76m[48;2;76;76;76ms[m[38;2;255;255;255m[48;2;76;76;76mort [m[38;2;76;255;76m[48;2;76;76;76mr[m[38;2;255;255;255m[48;2;76;76;76mefresh [m[38;2;76;255;76m[48;2;76;76;76mf[m[38;2;255;255;255m[48;2;76;76;76mullscreen [m[38;2;76;255;76m[48;2;76;76;76mo[m[38;2;255;255;255m[48;2;76;76;76mpen [m
|
||||||
Loading…
Add table
Add a link
Reference in a new issue