~ghost08/tcell-term

bf5e9834eda0848ef2721b5681288536fa245654 — Tim Culverhouse 2 years ago edea9bf
chore: remove unused code

Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
1 files changed, 0 insertions(+), 36 deletions(-)

M termutil/cell.go
M termutil/cell.go => termutil/cell.go +0 -36
@@ 18,42 18,6 @@ func (cell *Cell) Style() tcell.Style {
	return cell.attr
}

/*
func (cell *Cell) Fg() tcell.Color {
	if cell.attr.inverse {
		return cell.attr.bgColour
	}
	return cell.attr.fgColour
}

func (cell *Cell) Bold() bool {
	return cell.attr.bold
}

func (cell *Cell) Dim() bool {
	return cell.attr.dim
}

func (cell *Cell) Italic() bool {
	return cell.attr.italic
}

func (cell *Cell) Underline() bool {
	return cell.attr.underline
}

func (cell *Cell) Strikethrough() bool {
	return cell.attr.strikethrough
}

func (cell *Cell) Bg() tcell.Color {
	if cell.attr.inverse {
		return cell.attr.fgColour
	}
	return cell.attr.bgColour
}
*/

func (cell *Cell) Dirty() bool {
	return cell.dirty
}