mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-30 10:06:12 +00:00
Fix #937
This commit is contained in:
1 parent
0cde4e9121
commit
7a87315b94
2 files changed
+4
-1
No files matched your search
@@ -223,6 +223,7 @@ impl<'a> InteractivePrinter<'a> {
|
||||
if self.config.tab_width > 0 {
|
||||
expand_tabs(text, self.config.tab_width, cursor)
|
||||
} else {
|
||||
*cursor += text.len();
|
||||
text.to_string()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user