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