fix up backspace/delete binding widgets and fix a related mistake in the terminator_config manpage
This commit is contained in:
parent
e370d9fbb5
commit
c93e99b4c3
|
@ -66,7 +66,7 @@ Default value: \fBascii\-del\fR
|
|||
.TP
|
||||
.B delete_binding
|
||||
Sets what code the delete key generates. Possible values are "ascii-del" for the ASCII DEL character, "control-h" for Control-H (AKA the ASCII BS character), "escape-sequence" for the escape sequence typically bound to backspace or delete. "escape-sequence" is normally considered the correct setting for the Delete key.
|
||||
Default value: \fBdelete\-sequence\fR
|
||||
Default value: \fBescape\-sequence\fR
|
||||
.TP
|
||||
.B cursor_blink \fR(boolean)
|
||||
Controls if the cursor blinks.
|
||||
|
|
|
@ -75,6 +75,18 @@ class ProfileEditor:
|
|||
widget.append_text ('right')
|
||||
widget.append_text ('disabled')
|
||||
widget.set_active (0)
|
||||
elif key == 'backspace_binding':
|
||||
widget = gtk.combo_box_new_text()
|
||||
widget.append_text ('ascii-del')
|
||||
widget.append_text ('control-h')
|
||||
widget.append_text ('escape-sequence')
|
||||
widget.set_active (0)
|
||||
elif key == 'delete_binding':
|
||||
widget = gtk.combo_box_new_text()
|
||||
widget.append_text ('ascii-del')
|
||||
widget.append_text ('control-h')
|
||||
widget.append_text ('escape-sequence')
|
||||
widget.set_active (2)
|
||||
elif key == 'focus':
|
||||
widget = gtk.combo_box_new_text()
|
||||
widget.append_text ('click')
|
||||
|
|
Loading…
Reference in New Issue