SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,21 @@
A_ITALIC was only added to curses in 2013.
Index: pager/display.c
--- pager/display.c.orig
+++ pager/display.c
@@ -217,6 +217,7 @@ static void resolve_color(struct MuttWindow *win, stru
else
color.attrs |= A_UNDERLINE;
}
+#ifdef A_ITALIC
else if (special & A_ITALIC)
{
if (simple_color_is_set(MT_COLOR_ITALIC) && !search)
@@ -224,6 +225,7 @@ static void resolve_color(struct MuttWindow *win, stru
else
color.attrs |= A_ITALIC;
}
+#endif
else if (ansi->attr_color)
{
color = *ansi->attr_color;