diff --git a/pkg/geom/tty/render.go b/pkg/geom/tty/render.go index 636be3fb..5b341951 100644 --- a/pkg/geom/tty/render.go +++ b/pkg/geom/tty/render.go @@ -102,7 +102,7 @@ func swapImage( info.Fprintf(data, terminfo.ExitAttributeMode) // CJK characters - col += srcCell.Width() - 1 + col += geom.Max(srcCell.Width(), 1) - 1 } }