Redraw/hide scroll offset when 'info' property is changed

This commit is contained in:
Junegunn Choi committed 2024-09-12 22:04:19 +09:00
1 parent 952276dc2d
commit 2191a44e36
2 files changed
+7 -2

No files matched your search

+1 -1
View File
@@ -387,7 +387,7 @@ func (a previewOpts) sameLayout(b previewOpts) bool {
}
func (a previewOpts) sameContentLayout(b previewOpts) bool {
return a.wrap == b.wrap && a.headerLines == b.headerLines
return a.wrap == b.wrap && a.headerLines == b.headerLines && a.info == b.info
}
func firstLine(s string) string {