aboutsummaryrefslogtreecommitdiff
path: root/vterm-module.h
diff options
context:
space:
mode:
authorjixiuf <jixiuf@qq.com>2022-08-30 11:17:40 +0800
committerjixiuf <jixiuf@qq.com>2022-08-30 11:20:09 +0800
commit0838ee3b3b77f0a6945b57bca87315acf650479f (patch)
tree1911714fc7a15f7bf304ed38c1c73c77925a36cf /vterm-module.h
parent54bef7c753cfb9360b5f21cbc1909ace4da67260 (diff)
check libvterm version,make it compile with libvterm<0.2
Diffstat (limited to 'vterm-module.h')
-rw-r--r--vterm-module.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/vterm-module.h b/vterm-module.h
index dca092b..e8bb01b 100644
--- a/vterm-module.h
+++ b/vterm-module.h
@@ -100,9 +100,9 @@ typedef struct Term {
/* c , p , q , s , 0 , 1 , 2 , 3 , 4 , 5 , 6 , and 7 */
/* clipboard, primary, secondary, select, or cut buffers 0 through 7 */
- VTermSelectionMask selection_mask;
+ int selection_mask; /* see VTermSelectionMask in vterm.h */
char *selection_data;
- char selection_buf[SELECTION_BUF_LEN]; /* buf for */
+ char selection_buf[SELECTION_BUF_LEN];
/* the size of dirs almost = window height, value = directory of that line */
LineInfo **lines;