You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a layout element of type = "text" with the val of a string including a newline \n character, the display is broken.
Test cases with local copy on newest commit:
{
dir="~/Documents/Programming/alpha-nvim",
config=function()
localdashboard=require("alpha.themes.dashboard")
-- No newline-- dashboard.section.header.val = "The quick brown fox jumped over the lazy dog"-- With \n-- dashboard.section.header.val = "The quick brown fox\njumped over the lazy dog"-- With table of strings:-- dashboard.section.header.val = { "The quick brown fox", "jumped over the lazy dog" }require("alpha").setup(dashboard.config)
end,
}
Expected Behavior
Strings with newline characters \n should not break the display.
Fix as simulated via table of strings:
Noting wrong
Actual Behavior
Strings with the newline character break the display.
Broken highlights and cursor is offset
The text was updated successfully, but these errors were encountered:
When using a layout element of
type = "text"
with theval
of a string including a newline\n
character, the display is broken.Test cases with local copy on newest commit:
Expected Behavior
Strings with newline characters
\n
should not break the display.Fix as simulated via table of strings:
Actual Behavior
Strings with the newline character break the display.
The text was updated successfully, but these errors were encountered: