mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-19 19:37:59 +02:00
Remove debug log statements
This commit is contained in:
parent
b3fa5c9a6b
commit
5a70a3b776
@ -603,7 +603,6 @@ func makeTable(ctx context.Context, rows []table.Row) (table.Model, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
renderChunk := func(v string, isMatching, isLeftMost, isRightMost bool) string {
|
renderChunk := func(v string, isMatching, isLeftMost, isRightMost bool) string {
|
||||||
hctx.GetLogger().Infof("Rendering chunk=%#v with isMatching=%#v", v, isMatching)
|
|
||||||
baseStyle := lipgloss.NewStyle()
|
baseStyle := lipgloss.NewStyle()
|
||||||
if position.IsRowSelected {
|
if position.IsRowSelected {
|
||||||
baseStyle = s.Selected.Copy()
|
baseStyle = s.Selected.Copy()
|
||||||
@ -641,7 +640,6 @@ func makeTable(ctx context.Context, rows []table.Row) (table.Model, error) {
|
|||||||
if lastIncludedIdx != len(value) {
|
if lastIncludedIdx != len(value) {
|
||||||
ret += renderChunk(value[lastIncludedIdx:], false, false, true)
|
ret += renderChunk(value[lastIncludedIdx:], false, false, true)
|
||||||
}
|
}
|
||||||
hctx.GetLogger().Infof("bolded=%#v, original=%#v", ret, s.Cell.Render(value))
|
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user