mirror of
https://github.com/gitui-org/gitui
synced 2026-05-23 17:08:21 +00:00
fix: blame tabs indentation
This commit is contained in:
parent
6e0e4b57b5
commit
2745d9f860
2 changed files with 5 additions and 1 deletions
|
|
@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## Unreleased
|
||||
|
||||
### Fixed
|
||||
* tabs indentation in blame ([#1111](https://github.com/extrawurst/gitui/issues/1117))
|
||||
|
||||
### Added
|
||||
* file history log [[@cruessler](https://github.com/cruessler)] ([#381](https://github.com/extrawurst/gitui/issues/381))
|
||||
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ use crate::{
|
|||
components::{utils::string_width_align, ScrollType},
|
||||
keys::SharedKeyConfig,
|
||||
queue::{InternalEvent, Queue},
|
||||
string_utils::tabs_to_spaces,
|
||||
strings,
|
||||
ui::{self, style::SharedTheme},
|
||||
};
|
||||
|
|
@ -415,7 +416,7 @@ impl BlameFileComponent {
|
|||
.style(self.theme.text(true, false)),
|
||||
);
|
||||
cells.push(
|
||||
Cell::from(String::from(line))
|
||||
Cell::from(tabs_to_spaces(String::from(line)))
|
||||
.style(self.theme.text(true, false)),
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue