Commit Diff


commit - bd4a08a74023593128f1f6fac9e0f4a093a8441f
commit + cf8fcf6437e729c6de0cd278af49a70535cd81be
blob - f8af6a1ebae1f826a846270292e2c6071ea7e54c
blob + 58d6c642693c427083581c59d3ad6b38bcc497d1
--- include/telescope.h
+++ include/telescope.h
@@ -96,18 +96,14 @@ enum line_type {
 	/* misc ui */
 	LINE_FRINGE,
 };
-
-/* for lines: mark as hidden */
-#define L_HIDDEN	1
-
-/* for vlines: mark as continuation */
-#define L_CONTINUATION	2
 
 struct line {
 	enum line_type		 type;
 	char			*line;
 	char			*alt;
 	void			*data;
+
+#define L_HIDDEN	0x1
 	int			 flags;
 	TAILQ_ENTRY(line)	 lines;
 };
@@ -117,6 +113,8 @@ struct vline {
 	size_t			 from;
 	size_t			 len;
 	size_t			 cplen;
+
+#define L_CONTINUATION	0x2
 	int			 flags;
 	TAILQ_ENTRY(vline)	 vlines;
 };