diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2023-06-22 18:36:16 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2023-06-22 18:37:24 +0200 |
commit | 2dc4e9c13b33ae38099f159a9fd87b4c8ea31978 (patch) | |
tree | 2ed0257b15c2419a9fa5e269e44adc66268c2cc5 | |
parent | a1f6ffd226efcc0aa42b8a03046a2e1f09786d0d (diff) | |
download | fiv-2dc4e9c13b33ae38099f159a9fd87b4c8ea31978.tar.gz fiv-2dc4e9c13b33ae38099f159a9fd87b4c8ea31978.tar.xz fiv-2dc4e9c13b33ae38099f159a9fd87b4c8ea31978.zip |
Make backspace go back in history
As on Windows.
-rw-r--r-- | fiv.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1438,6 +1438,9 @@ on_key_press(G_GNUC_UNUSED GtkWidget *widget, GdkEventKey *event, break; case 0: switch (event->keyval) { + case GDK_KEY_BackSpace: + go_back(); + return TRUE; case GDK_KEY_q: gtk_widget_destroy(g.window); return TRUE; |