aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/terminal.h b/terminal.h
index 2adc26b8..76375d8e 100644
--- a/terminal.h
+++ b/terminal.h
@@ -262,6 +262,7 @@ enum selection_kind {
};
enum selection_direction {SELECTION_UNDIR, SELECTION_LEFT, SELECTION_RIGHT};
enum selection_scroll_direction {SELECTION_SCROLL_NOT, SELECTION_SCROLL_UP, SELECTION_SCROLL_DOWN};
+enum search_direction { SEARCH_BACKWARD, SEARCH_FORWARD};
struct ptmx_buffer {
void *data;
@@ -501,7 +502,7 @@ struct terminal {
size_t len;
size_t sz;
size_t cursor;
- enum { SEARCH_BACKWARD, SEARCH_FORWARD} direction;
+ enum search_direction direction;
int original_view;
bool view_followed_offset;