summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README1
-rw-r--r--gui/sheet.c10
-rw-r--r--help.html3
-rw-r--r--help.txt2
4 files changed, 11 insertions, 5 deletions
diff --git a/README b/README
index 573d00e..f9adab3 100644
--- a/README
+++ b/README
@@ -200,6 +200,7 @@ Tab toggle between old and new revision
Esc cancel current action (exit history, close pop-up,
de-highlight glabel, close help)
E show/hide extra information (pin types)
+Shift+D toggle between "diff" and experimental "delta" mode
H show/hide help window
T toggle performance timer
D when comparing revisions, show difference (default)
diff --git a/gui/sheet.c b/gui/sheet.c
index df780ec..aea2e27 100644
--- a/gui/sheet.c
+++ b/gui/sheet.c
@@ -555,11 +555,6 @@ static void sheet_key(void *user, int x, int y, int keyval)
redraw(gui);
break;
- case GDK_KEY_a:
- use_delta = !use_delta;
- do_revision_overlays(gui);
- redraw(gui);
- break;
case GDK_KEY_e:
show_extra = !show_extra;
redraw(gui);
@@ -577,6 +572,11 @@ static void sheet_key(void *user, int x, int y, int keyval)
gui->diff_mode = diff_delta;
redraw(gui);
break;
+ case GDK_KEY_D: /* Shift + D */
+ use_delta = !use_delta;
+ do_revision_overlays(gui);
+ redraw(gui);
+ break;
case GDK_KEY_h:
case GDK_KEY_Help:
diff --git a/help.html b/help.html
index af76d74..1f247b6 100644
--- a/help.html
+++ b/help.html
@@ -36,6 +36,9 @@
<TD>E
<TD>show/hide extra information (pin types)
<TR>
+ <TD>Shift+D
+ <TD>toggle between "diff" and experimental "delta" mode
+ <TR>
<TD>H
<TD>open/close help window
<TR>
diff --git a/help.txt b/help.txt
index 0545d7b..db68883 100644
--- a/help.txt
+++ b/help.txt
@@ -12,6 +12,8 @@ Tab toggle between old and new revision
Esc cancel current action (exit history, close
pop-up, de-highlight glabel, close help)
E show/hide extra information (pin types)
+Shift+D toggle between "diff" and experimental
+ "delta" mode
H show/hide help window
T toggle performance timer
D when comparing revisions, show difference