minor Changes
This commit is contained in:
parent
46d721ffb4
commit
98a6b0717a
@ -11,14 +11,11 @@ import (
|
|||||||
|
|
||||||
// The progressBar is just a string which is separated by the color formatting String
|
// The progressBar is just a string which is separated by the color formatting String
|
||||||
// for e.g
|
// for e.g
|
||||||
|
|
||||||
// "[:#fbff00:]******************`innerText`[-:-:-] "
|
// "[:#fbff00:]******************`innerText`[-:-:-] "
|
||||||
|
|
||||||
// the above string shows represents the progress until [-:-:-]
|
// the above string shows represents the progress until [-:-:-]
|
||||||
// [-:-:-] this string represents resetting colors so the substring before it would be with a
|
// [-:-:-] this string represents resetting colors so the substring before it would be with a
|
||||||
// colored background. this is done by calculating the innerRect of the table and taking that length as
|
// colored background. this is done by calculating the innerRect of the table and taking that length as
|
||||||
// 100% and then representing the rest of the information in relation to it
|
// 100% and then representing the rest of the information in relation to it
|
||||||
|
|
||||||
type progressBar struct {
|
type progressBar struct {
|
||||||
t *tview.Table
|
t *tview.Table
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user