Removing commented-out code.

This commit is contained in:
Jakub Sobon 2020-11-14 23:25:58 -05:00
parent 503c0ada52
commit b4d53c1f6c
No known key found for this signature in database
GPG Key ID: F2451A77FB05D3B7
1 changed files with 0 additions and 22 deletions

View File

@ -22,28 +22,6 @@ import (
// cellColor converts termdash cell color to the tcell format.
func cellColor(c cell.Color) tcell.Color {
/*
switch c {
case cell.ColorDefault:
return tcell.ColorDefault
case cell.ColorBlack:
return tcell.ColorBlack
case cell.ColorRed:
return tcell.ColorRed
case cell.ColorGreen:
return tcell.ColorGreen
case cell.ColorYellow:
return tcell.ColorYellow
case cell.ColorBlue:
return tcell.ColorBlue
case cell.ColorMagenta:
return tcell.ColorFuchsia
case cell.ColorCyan:
return tcell.ColorAqua
case cell.ColorWhite:
return tcell.ColorWhite
}
*/
if c == cell.ColorDefault {
return tcell.ColorDefault
}