mirror of https://github.com/mum4k/termdash.git
Removing commented-out code.
This commit is contained in:
parent
503c0ada52
commit
b4d53c1f6c
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue