mirror of https://github.com/gizak/termui.git
add missing characters
This commit is contained in:
parent
72304ddb9b
commit
6d9a109edf
|
@ -12,3 +12,9 @@ const HORIZONTAL_LINE = '-'
|
|||
const TOP_LEFT = '+'
|
||||
const BOTTOM_RIGHT = '+'
|
||||
const BOTTOM_LEFT = '+'
|
||||
const VERTICAL_LEFT = '+'
|
||||
const VERTICAL_RIGHT = '+'
|
||||
const HORIZONTAL_DOWN = '+'
|
||||
const HORIZONTAL_UP = '+'
|
||||
const QUOTA_LEFT = '<'
|
||||
const QUOTA_RIGHT = '>'
|
||||
|
|
|
@ -231,7 +231,7 @@ func (tp *Tabpane) Buffer() Buffer {
|
|||
ps = append(ps, pt)
|
||||
|
||||
if all <= 0 {
|
||||
addp := tp.drawPointWithBorder(pt, '<', '«', HORIZONTAL_LINE, HORIZONTAL_LINE)
|
||||
addp := tp.drawPointWithBorder(pt, '<', QUOTA_LEFT, HORIZONTAL_LINE, HORIZONTAL_LINE)
|
||||
ps = append(ps, addp...)
|
||||
}
|
||||
|
||||
|
@ -242,7 +242,7 @@ func (tp *Tabpane) Buffer() Buffer {
|
|||
}
|
||||
ps = append(ps, pt)
|
||||
if all >= 0 {
|
||||
addp := tp.drawPointWithBorder(pt, '>', '»', HORIZONTAL_LINE, HORIZONTAL_LINE)
|
||||
addp := tp.drawPointWithBorder(pt, '>', QUOTA_RIGHT, HORIZONTAL_LINE, HORIZONTAL_LINE)
|
||||
ps = append(ps, addp...)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue