diff --git a/src/render/mod.rs b/src/render/mod.rs index c0c793c..4019df9 100644 --- a/src/render/mod.rs +++ b/src/render/mod.rs @@ -106,7 +106,7 @@ fn draw_underline( let undercurl_height = (underline_thickness * 4.0).min(max_undercurl_height); let undercurl_y = line_y + underline_position - undercurl_height / 2.0; - pangocairo::functions::error_underline_path(ctx, line_x, undercurl_y, char_width, undercurl_height); + pangocairo::functions::show_error_underline(ctx, line_x, undercurl_y, char_width, undercurl_height); } else if cell.attrs.underline { let fg = color_model.actual_cell_fg(cell); ctx.set_source_rgb(fg.0, fg.1, fg.2);