mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-10 09:02:01 -07:00
Apply --tabstop to preview window
This commit is contained in:
@@ -846,7 +846,7 @@ func (t *Terminal) printPreview() {
|
||||
limit -= t.pwindow.X()
|
||||
}
|
||||
trimmed, _ := trimRight([]rune(line), limit)
|
||||
lines[i] = string(trimmed)
|
||||
lines[i], _ = processTabs(trimmed, 0)
|
||||
}
|
||||
str = strings.Join(lines, "\n")
|
||||
}
|
||||
|
Reference in New Issue
Block a user