msg = json_encode(listtv, ch_mode);
if (msg != NULL)
{
+#ifdef FEAT_TERMINAL
if (buffer->b_term != NULL)
write_to_term(buffer, msg, channel);
else
+#endif
append_to_buffer(buffer, msg, channel, part);
}
}
# define SYN_TIME_LIMIT 1
#endif
+#ifdef FEAT_RIGHTLEFT
+# define HAS_RIGHTLEFT(x) x
+#else
+# define HAS_RIGHTLEFT(x) FALSE
+#endif
+
/*
* Redraw the current window later, with update_screen(type).
* Set must_redraw only if not already set to a higher value.
)
{
screen_line(screen_row, W_WINCOL(wp), col, -(int)W_WIDTH(wp),
- wp->w_p_rl);
+ HAS_RIGHTLEFT(wp->w_p_rl));
/* Pretend we have finished updating the window. Except when
* 'cursorcolumn' is set. */
#ifdef FEAT_SYN_HL
#endif
screen_line(screen_row, W_WINCOL(wp), col,
- (int)W_WIDTH(wp), wp->w_p_rl);
+ (int)W_WIDTH(wp), HAS_RIGHTLEFT(wp->w_p_rl));
row++;
/*
{
#ifdef FEAT_CONCEAL
screen_line(screen_row, W_WINCOL(wp), col - boguscols,
- (int)W_WIDTH(wp), wp->w_p_rl);
+ (int)W_WIDTH(wp), HAS_RIGHTLEFT(wp->w_p_rl));
boguscols = 0;
#else
screen_line(screen_row, W_WINCOL(wp), col,
- (int)W_WIDTH(wp), wp->w_p_rl);
+ (int)W_WIDTH(wp), HAS_RIGHTLEFT(wp->w_p_rl));
#endif
++row;
++screen_row;