fix showing horizontal line rune (#36)
This commit is contained in:
@@ -108,7 +108,7 @@ func (pane *ProjectPane) addProjectToList(i int, selectItem bool) {
|
|||||||
|
|
||||||
func (pane *ProjectPane) addSection(name string) {
|
func (pane *ProjectPane) addSection(name string) {
|
||||||
pane.list.AddItem("[::d]"+name, "", 0, nil)
|
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 {
|
func (pane *ProjectPane) handleShortcuts(event *tcell.EventKey) *tcell.EventKey {
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ func NewTaskDetailHeader(taskRepo repository.TaskRepository) *TaskDetailHeader {
|
|||||||
AddItem(header.pages, 1, 1, true).
|
AddItem(header.pages, 1, 1, true).
|
||||||
AddItem(blankCell, 1, 0, true).
|
AddItem(blankCell, 1, 0, true).
|
||||||
AddItem(buttons, 1, 1, false).
|
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
|
return &header
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user