patch 8.1.1779: not showing the popup window right border is confusing
Problem: Not showing the popup window right border is confusing.
Solution: Also show the border when 'wrap' is off. (closes #4747)
diff --git a/src/popupwin.c b/src/popupwin.c
index 4113b55..8564097 100644
--- a/src/popupwin.c
+++ b/src/popupwin.c
@@ -1076,7 +1076,9 @@
}
}
- if (wp->w_p_wrap)
+ if (wp->w_p_wrap || (!wp->w_popup_fixed
+ && (wp->w_popup_pos == POPPOS_TOPLEFT
+ || wp->w_popup_pos == POPPOS_BOTLEFT)))
{
int want_col = 0;