mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-21 16:05:02 +02:00
Fix #6889
This commit is contained in:
@@ -130,6 +130,9 @@ func GetChoices(o *Options) (response string, err error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
draw_long_text := func(screen_width int, text string, msg_lines []string) []string {
|
draw_long_text := func(screen_width int, text string, msg_lines []string) []string {
|
||||||
|
if screen_width < 3 {
|
||||||
|
return msg_lines
|
||||||
|
}
|
||||||
if text == "" {
|
if text == "" {
|
||||||
msg_lines = append(msg_lines, "")
|
msg_lines = append(msg_lines, "")
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user