diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-08-30 18:15:12 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-08-30 18:15:12 +0000 |
| commit | 556bf95b2802fba5bc4e204a27ae9283d0cfcba5 (patch) | |
| tree | 6b64837157b9fb95ae693f7b420b66c63106d86f /terminal.h | |
| parent | search: fix distance to prev word calculation when final cursor was 0 (diff) | |
search: make search-direction configurable
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -353,6 +353,7 @@ struct terminal { size_t len; size_t sz; size_t cursor; + enum { SEARCH_BACKWARD, SEARCH_FORWARD} direction; int original_view; bool view_followed_offset; |
