diff --git a/eris/__main__.py b/eris/__main__.py index f87f486..4b4251b 100755 --- a/eris/__main__.py +++ b/eris/__main__.py @@ -73,7 +73,7 @@ KEYS_DOC = """Keys: tab - Change the focus between summary and result pane. q, esc - Quit. 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) e - Edit the current file with an editor defined by -e, $EDITOR or $VISUAL. n - Move to the next issue. @@ -82,7 +82,7 @@ KEYS_DOC = """Keys: r - Refresh the currently selected report. R - Refresh all reports of the current tool. 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)) _STATUS_BAR = highlight_chars( - " *help *quit *t*a*b:focus *orient *log *edit *next *sort" - " *refresh *fullscreen *xdg-open", Log._GREEN_STYLE) + " *help *quit *t*a*b:focus *turn *log *edit *next *sort" + " *refresh *fullscreen *open", Log._GREEN_STYLE) @functools.lru_cache() def _get_partial_bar_chars(self, bar_transparency): @@ -1037,7 +1037,7 @@ class Screen: else fill3.appearance_resize(result, dimensions)) _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.LEFT_KEY: cursor_left, terminal.RIGHT_KEY: cursor_right, 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, "e": edit_file, "q": quit_, terminal.ESC: quit_, "r": refresh, "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): diff --git a/tests/golden-files/help b/tests/golden-files/help index 5c81c1e..f94c5cc 100644 --- a/tests/golden-files/help +++ b/tests/golden-files/help @@ -14,7 +14,7 @@ │ tab - Change the focus between summary and result pane. │ │ q, esc - Quit. │ │ 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) │ │ e - Edit the current file with an editor defined by -e, $EDITOR or $VISUAL. │ │ n - Move to the next issue. │ @@ -23,7 +23,7 @@ │ r - Refresh the currently selected report. │ │ R - Refresh all reports of the current tool. │ │ 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: │ │   Ok │ @@ -57,4 +57,4 @@ │ │ │ │ └──────────────────────────────────────────────────────────────────────────────────────────────────┘ - help quit tab:focus orient log edit next sort refresh fullscreen xdg-open  \ No newline at end of file + help quit tab:focus turn log edit next sort refresh fullscreen open  \ No newline at end of file diff --git a/tests/golden-files/initial b/tests/golden-files/initial index ede14d5..6695766 100644 --- a/tests/golden-files/initial +++ b/tests/golden-files/initial @@ -57,4 +57,4 @@ │ ││ │ │ ││ │ └────────────────────────────────────┘└────────────────────────────────────────────────────────────┘ - help quit tab:focus orient log edit next sort refresh fullscreen xdg-open  \ No newline at end of file + help quit tab:focus turn log edit next sort refresh fullscreen open  \ No newline at end of file diff --git a/tests/golden-files/window-orientation b/tests/golden-files/window-orientation index e084c5d..4a1633b 100644 --- a/tests/golden-files/window-orientation +++ b/tests/golden-files/window-orientation @@ -57,4 +57,4 @@ │ │ │ │ └──────────────────────────────────────────────────────────────────────────────────────────────────┘ - help quit tab:focus orient log edit next sort refresh fullscreen xdg-open  \ No newline at end of file + help quit tab:focus turn log edit next sort refresh fullscreen open  \ No newline at end of file