summaryrefslogtreecommitdiff
path: root/gui/sheet.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-23 16:45:07 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-23 16:46:15 -0300
commit25061ecb551c4d789bd3c7efda8143f740d56365 (patch)
tree9cb4cdf16b4dc32b4211c77803ddd01fd75aaf07 /gui/sheet.c
parent0c6dc20dc5adcc1c93921b6fc9fb2405b651d07b (diff)
downloadeeshow-25061ecb551c4d789bd3c7efda8143f740d56365.tar.gz
eeshow-25061ecb551c4d789bd3c7efda8143f740d56365.tar.bz2
eeshow-25061ecb551c4d789bd3c7efda8143f740d56365.zip
in GUI mode, E toggles extra information (pin types)
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 d25343f..8a7414a 100644
--- a/gui/sheet.c
+++ b/gui/sheet.c
@@ -550,6 +550,11 @@ static void sheet_key(void *user, int x, int y, int keyval)
do_revision_overlays(ctx);
redraw(ctx);
break;
+ case GDK_KEY_e:
+ show_extra = !show_extra;
+ unrender_all(ctx);
+ go_to_sheet(ctx, ctx->curr_sheet);
+ break;
case GDK_KEY_n:
ctx->diff_mode = diff_new;