mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-16 02:07:06 +00:00
Apply --tabstop to preview window
This commit is contained in:
parent
c7b0764002
commit
7b0d9e1e07
@ -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")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user