summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTamas TEVESZ <ice@extreme.hu>2017-02-12 08:51:12 +0100
committerTamas TEVESZ <ice@extreme.hu>2017-02-12 08:51:12 +0100
commit62e35cc0db04d2e3abb63529f8dd1a29497ace12 (patch)
tree5aff4b2fbbae08fb0f466cdf8cfbc1707a6a1d54
parentca1ac514e3e196b711bc8b36f0ecad21398edb1a (diff)
parenta25110b16c1f1bdf55e96c2ad4501f602bb47855 (diff)
Merge remote-tracking branch 'upstream/depgraph' into doc/clarify_color_cmds
-rw-r--r--src/doc2
-rw-r--r--src/help.c6
-rw-r--r--src/xls.c3
3 files changed, 8 insertions, 3 deletions
diff --git a/src/doc b/src/doc
index 806c6dc..62e4e2c 100644
--- a/src/doc
+++ b/src/doc
@@ -5,7 +5,7 @@ You can also use the <ENTER> key to go one line down and <DEL> to go up.
<SPACE> moves a page down, while <C-f> and <C-b> move half page down or up.
-'G' moves to bottom, and <C-a> to the beginning of the text.
+'G' moves to bottom, and <C-a> or 'gg' to the beginning of the text.
Use '/' to search for a pattern in the help.
diff --git a/src/help.c b/src/help.c
index 45d547d..9a5ac3a 100644
--- a/src/help.c
+++ b/src/help.c
@@ -143,6 +143,12 @@ void help() {
delta = max - LINES + RESROW;
break;
+ case 'g':
+ wtimeout(input_win, TIMEOUT_CURSES);
+ char c = wgetch(input_win);
+ wtimeout(input_win, -1);
+ if (c != 'g') break;
+
case ctl('a'):
delta = 0;
break;
diff --git a/src/xls.c b/src/xls.c
index 919fc9f..1c05b3f 100644
--- a/src/xls.c
+++ b/src/xls.c
@@ -59,8 +59,7 @@ int open_xls(char * fname, char * encoding) {
for (r = 0; r <= pWS->rows.lastrow; r++) { // rows
for (c = 0; c <= pWS->rows.lastcol; c++) { // cols
xlsCell * cell = xls_cell(pWS, r, c);
- //if ((! cell) || (cell->isHidden)) continue;
- if ((! cell) || (cell->ishiden)) continue; // Unfortunately libxls spells this "ishiden"
+ if ((! cell) || (cell->isHidden)) continue;
// TODO enable rowspan ?
//if (cell->rowspan > 1) continue;