The ProgressBar is just a string which has a length equal to the innerRect of the table. The length of the innerRect is considered to be 100% and the rest of the progress is tracked in relation to it. The Progress is displayed with the help of the color formatting strings in tview link: https://pkg.go.dev/github.com/rivo/tview#hdr-Colors the progress length which is calculated by finding the percentage of the innerRect that matches with the given completion and then at that length the "[-:-:-]" is inserted with the help of the insertAt function in utils.go. "[-:-:-]" represents resetting of colors.
Description
Languages
Go
98.7%
Shell
1.3%