Add keyboard shortcuts for reset and reset/clear. Closes LP#287634
This commit is contained in:
parent
16894d5f78
commit
4b69bf47aa
@ -133,6 +133,12 @@ Restore font size to original setting.
|
||||
.TP
|
||||
.B F11
|
||||
Toggle fullscreen
|
||||
.TP
|
||||
.B Ctrl+Shift+R
|
||||
Reset terminal state
|
||||
.TP
|
||||
.B Ctrl+Shift+G
|
||||
Reset terminal state and clear window
|
||||
.SH "Drag and Drop"
|
||||
The layout can be modified by moving terminals with Drag and Drop.
|
||||
To start dragging a terminal, hold down \fBCtrl\fP, click and hold the \fBright\fP mouse button.
|
||||
|
@ -304,5 +304,13 @@ Default value: \fB<Ctrl>Page_Up\fR
|
||||
.B full_screen
|
||||
Toggle the window to a fullscreen window.
|
||||
Default value: \fBF11\fR
|
||||
.TP
|
||||
.B reset
|
||||
Reset the terminal state.
|
||||
Default value: \fB<Ctrl><Shift>R\fR
|
||||
.TP
|
||||
.B reset_clear
|
||||
Reset the terminal state and clear the terminal window.
|
||||
Default value: \fB<Ctrl><Shift>G\fR
|
||||
.SH "SEE ALSO"
|
||||
.BR gnome\-terminal(1)
|
||||
|
@ -133,6 +133,8 @@ Defaults = {
|
||||
'next_tab' : '<Ctrl>Page_Down',
|
||||
'prev_tab' : '<Ctrl>Page_Up',
|
||||
'full_screen' : 'F11',
|
||||
'reset' : '<Ctrl><Shift>R',
|
||||
'reset_clear' : '<Ctrl><Shift>G',
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -770,6 +770,12 @@ text/plain
|
||||
|
||||
def key_prev_tab(self):
|
||||
self.terminator.previous_tab (self)
|
||||
|
||||
def key_reset(self):
|
||||
self._vte.reset (True, False)
|
||||
|
||||
def key_reset_clear(self):
|
||||
self._vte.reset (True, True)
|
||||
# End key events
|
||||
|
||||
def zoom_orig (self):
|
||||
|
Loading…
Reference in New Issue
Block a user