fix showing horizontal line rune (#36)

This commit is contained in:
Kuprijanov Roman
2021-12-09 07:16:31 +02:00
committed by GitHub
parent 9233c89ab6
commit e4132138ab
2 changed files with 2 additions and 2 deletions

View File

@@ -108,7 +108,7 @@ func (pane *ProjectPane) addProjectToList(i int, selectItem bool) {
func (pane *ProjectPane) addSection(name string) {
pane.list.AddItem("[::d]"+name, "", 0, nil)
pane.list.AddItem("[::d]"+strings.Repeat(string(tcell.RuneS3), 25), "", 0, nil)
pane.list.AddItem("[::d]"+strings.Repeat(string(tcell.RuneHLine), 25), "", 0, nil)
}
func (pane *ProjectPane) handleShortcuts(event *tcell.EventKey) *tcell.EventKey {

View File

@@ -45,7 +45,7 @@ func NewTaskDetailHeader(taskRepo repository.TaskRepository) *TaskDetailHeader {
AddItem(header.pages, 1, 1, true).
AddItem(blankCell, 1, 0, true).
AddItem(buttons, 1, 1, false).
AddItem(makeHorizontalLine(tcell.RuneS3, tcell.ColorGray), 1, 1, false)
AddItem(makeHorizontalLine(tcell.RuneHLine, tcell.ColorGray), 1, 1, false)
return &header
}