Merge remote-tracking branch 'origin/master' into v2-exp

This commit is contained in:
Carlos Alexandro Becker
2025-04-14 11:07:20 -03:00
3 changed files with 26 additions and 7 deletions
+20
View File
@@ -1671,6 +1671,26 @@ func TestView(t *testing.T) {
`),
},
},
{
name: "placeholder chinese character",
modelFunc: func(m Model) Model {
m.Placeholder = "输入消息..."
m.ShowLineNumbers = true
m.SetWidth(20)
return m
},
want: want{
view: heredoc.Doc(`
> 1 输入消息...
>
>
>
>
>
`),
},
},
}
for _, tt := range tests {