spelling: capacity

This commit is contained in:
Josh Soref 2016-03-14 05:45:45 +00:00
parent 3c68203c6d
commit 058b18fae8

View File

@ -35,7 +35,7 @@ var braillePatterns = map[[2]int]rune{
var lSingleBraille = [4]rune{'\u2840', '⠄', '⠂', '⠁'}
var rSingleBraille = [4]rune{'\u2880', '⠠', '⠐', '⠈'}
// LineChart has two modes: braille(default) and dot. Using braille gives 2x capicity as dot mode,
// LineChart has two modes: braille(default) and dot. Using braille gives 2x capacity as dot mode,
// because one braille char can represent two data points.
/*
lc := termui.NewLineChart()
@ -87,7 +87,7 @@ func NewLineChart() *LineChart {
}
// one cell contains two data points
// so the capicity is 2x as dot-mode
// so the capacity is 2x as dot-mode
func (lc *LineChart) renderBraille() Buffer {
buf := NewBuffer()