Make backspace go back in history

As on Windows.
This commit is contained in:
Přemysl Eric Janouch 2023-06-22 18:36:16 +02:00
parent a1f6ffd226
commit 2dc4e9c13b
Signed by: p
GPG Key ID: A0420B94F92B9493

3
fiv.c
View File

@ -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;