summaryrefslogtreecommitdiff
path: root/src/screen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.h')
-rw-r--r--src/screen.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/screen.h b/src/screen.h
index 0bd95c0..df464a7 100644
--- a/src/screen.h
+++ b/src/screen.h
@@ -18,7 +18,8 @@ void term_screen_insert_chars(struct term *t, int count);
const struct cell *term_screen_view_row(const struct term *t, int y);
uint64_t term_screen_view_row_key(const struct term *t, int y);
/* The selected columns [c0, c1] of each view row; c1 < c0 when none. */
-void term_selection_view_spans(const struct term *t, int *c0, int *c1);
+/* False when memory runs out; c0 and c1 are then not complete. */
+bool term_selection_view_spans(const struct term *t, int *c0, int *c1);
int term_screen_history_rows(const struct term *t);