From c5cd2b5716b999c32b120b220846e57a3f67e260 Mon Sep 17 00:00:00 2001 From: bptato Date: Tue, 2 Feb 2021 15:06:53 +0100 Subject: sixel and osc5379 image display protocols can be chosen in options --- fm.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'fm.h') diff --git a/fm.h b/fm.h index 0cd8235..a80e5f9 100644 --- a/fm.h +++ b/fm.h @@ -312,6 +312,10 @@ extern int REV_LB[]; #define EOL(l) (&(l)->ptr[(l)->length]) #define IS_EOL(p,l) ((p)==&(l)->ptr[(l)->length]) +#define INLINE_IMG_NONE 0 +#define INLINE_IMG_OSC5379 1 +#define INLINE_IMG_SIXEL 2 + /* * Types. */ -- cgit v1.2.3 From e4570e8b6e17382e1cc4984684f861524d5b02f4 Mon Sep 17 00:00:00 2001 From: bptato Date: Tue, 2 Feb 2021 22:14:46 +0100 Subject: Support iTerm2 graphics protocol, replace encodeB with base64_encode --- fm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'fm.h') diff --git a/fm.h b/fm.h index a80e5f9..216cd53 100644 --- a/fm.h +++ b/fm.h @@ -315,6 +315,7 @@ extern int REV_LB[]; #define INLINE_IMG_NONE 0 #define INLINE_IMG_OSC5379 1 #define INLINE_IMG_SIXEL 2 +#define INLINE_IMG_ITERM2 3 /* * Types. -- cgit v1.2.3