diff options
author | Tamas TEVESZ <ice@extreme.hu> | 2017-02-12 08:51:12 +0100 |
---|---|---|
committer | Tamas TEVESZ <ice@extreme.hu> | 2017-02-12 08:51:12 +0100 |
commit | 62e35cc0db04d2e3abb63529f8dd1a29497ace12 (patch) | |
tree | 5aff4b2fbbae08fb0f466cdf8cfbc1707a6a1d54 | |
parent | ca1ac514e3e196b711bc8b36f0ecad21398edb1a (diff) | |
parent | a25110b16c1f1bdf55e96c2ad4501f602bb47855 (diff) |
Merge remote-tracking branch 'upstream/depgraph' into doc/clarify_color_cmds
-rw-r--r-- | src/doc | 2 | ||||
-rw-r--r-- | src/help.c | 6 | ||||
-rw-r--r-- | src/xls.c | 3 |
3 files changed, 8 insertions, 3 deletions
@@ -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. @@ -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; @@ -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; |