summaryrefslogtreecommitdiff
path: root/gui/sheet.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-20 09:01:59 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-20 09:01:59 -0300
commit1212a3d89560f34c3a86285cd7ed26033b183138 (patch)
treedd7ca30ae4be16863c24bf352b952a3dd70ef0b1 /gui/sheet.c
parent2d5d8c3951d99b4ea6ba8806b6ba41c02a114eee (diff)
downloadeeshow-1212a3d89560f34c3a86285cd7ed26033b183138.tar.gz
eeshow-1212a3d89560f34c3a86285cd7ed26033b183138.tar.bz2
eeshow-1212a3d89560f34c3a86285cd7ed26033b183138.zip
eeshow/gui/render.c: resurrect delta mode (A toggles between delta and diff)
Diffstat (limited to 'gui/sheet.c')
-rw-r--r--gui/sheet.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/sheet.c b/gui/sheet.c
index 74bb5be..6f77756 100644
--- a/gui/sheet.c
+++ b/gui/sheet.c
@@ -522,6 +522,11 @@ static void sheet_key(void *user, int x, int y, int keyval)
redraw(ctx);
break;
+ case GDK_KEY_a:
+ use_delta = !use_delta;
+ redraw(ctx);
+ break;
+
case GDK_KEY_n:
ctx->diff_mode = diff_new;
redraw(ctx);