Skip to content
Myr

render: ignore custom inner padding when --prompt-only is used

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Daniel Eklöf · committed by Daniel Eklöf · parent e4b0d41 · Browse files · 1 file+3 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−1 removed

  • other:+3 added−1 removed

1 file+3 added−1 removed

modified:render.c+3 added-1 removed
1175 unmodified lines
1176 font, U'W', render->subpixel);11771178 const unsigned x_margin = render->conf->pad.x * scale;1179 const unsigned y_margin = render->conf->pad.y * scale;1180 const unsigned inner_pad = render->conf->pad.inner * scale;1180 const unsigned inner_pad = render->conf->lines > 01181 ? render->conf->pad.inner * scale1182 : 0;11831184 const unsigned border_size = render->conf->border.size * scale;11851186 const unsigned row_height = render->conf->line_height.px >= 0
107 unmodified lines