mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[blockquote] add > in move_chars. Refs #103
This commit is contained in:
parent
14c4584cde
commit
6acac0fc46
@ -981,6 +981,20 @@ move_chars(struct html_context *html_context, int x, int y, int nx, int ny)
|
||||
assert_comb_x_y_ok(part->document);
|
||||
if_assert_failed discard_comb_x_y(part->document);
|
||||
move_links(html_context, x, y, nx, ny);
|
||||
|
||||
if (par_format.blockquote_level) {
|
||||
struct screen_char *const schar = get_format_screen_char(html_context, 0);
|
||||
int i;
|
||||
int x = par_format.orig_leftmargin;
|
||||
schar->data = '>';
|
||||
for (i = 1; i < par_format.blockquote_level; i++) {
|
||||
copy_screen_chars(&POS(x, ny), schar, 1);
|
||||
part->char_width[x++] = 1;
|
||||
}
|
||||
schar->data = ' ';
|
||||
copy_screen_chars(&POS(x, ny), schar, 1);
|
||||
part->char_width[x++] = 1;
|
||||
}
|
||||
}
|
||||
|
||||
/** Shift the line @a y to the right by @a shift character cells,
|
||||
|
Loading…
Reference in New Issue
Block a user