From 2dc4e9c13b33ae38099f159a9fd87b4c8ea31978 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Thu, 22 Jun 2023 18:36:16 +0200 Subject: [PATCH] Make backspace go back in history As on Windows. --- fiv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fiv.c b/fiv.c index 4b8440e..76133ae 100644 --- a/fiv.c +++ b/fiv.c @@ -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;