Configurable keybindings for actions

Registered by Paul "LeoNerd" Evans

Allow users to bind internal actions to keys. Make the current C-S-C and C-S-V configurable.

Consider then also adding toggle fullscreen, font size inc/dec, whatever else folks want,...

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Paul "LeoNerd" Evans
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

# Bazaar merge directive format 2 (Bazaar 0.90)
# revision_id: philipkovac@corsac-20181127174322-0m6auy9whbti5aqd
# target_branch: http://bazaar.leonerd.org.uk/code/pangoterm/
# testament_sha1: b55eeb10874049b47992d619b663e40c170efdf2
# timestamp: 2018-11-27 13:02:38 -0500
# base_revision_id: <email address hidden>-\
# z3slei9y0tv5kymq
#
# Begin patch
=== modified file 'pangoterm.c'
--- pangoterm.c 2017-11-02 18:42:43 +0000
+++ pangoterm.c 2018-11-27 17:43:22 +0000
@@ -1410,6 +1410,16 @@
     term_push_string(pt, str, TRUE);
     return TRUE;
   }
+
+ if (event->keyval == GDK_KEY_F11 && !event->state) {
+ if (gdk_window_get_state(pt->termdraw) & GDK_WINDOW_STATE_FULLSCREEN) {
+ gdk_window_unfullscreen(pt->termdraw);
+ } else {
+ gdk_window_fullscreen(pt->termdraw);
+ }
+ return TRUE;
+ }
+
   if((event->keyval == 'c' || event->keyval == 'C') &&
      event->state & GDK_CONTROL_MASK && event->state & GDK_SHIFT_MASK) {
     /* Ctrl-Shift-C copies to clipboard */

# Begin bundle
IyBCYXphYXIgcmV2aXNpb24gYnVuZGxlIHY0CiMKQlpoOTFBWSZTWQSPcJoAAYXfgFAwcWP//3+t
nqC////6UAO69veDPPJ6t1nmGiTInpk1Gp6NGSPU9JptQBoGmg09RpjSPUCSiZNJ6NMptU8lPTSD
I9QBhBoAAA9QSiJ6RqYp6TGpp6amIAaAAAANAAkkjRJ5EZjUmnpqaYgaBoAAAA0BJJU/Imp6TDSe
k2KaZADQaaPUMQAAGgjCf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HvLgcUTmDlDO+tBMVEt+BimA9XEFlFInQVxPVI
t5PqWQqlnIXw2j/F3JFOFCQBI9wmgA==

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.