You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now if the stock during the regular trading hours was up or down, the premarket/aftermarket data will also be the same color.
Therefore e.g. if AAPL stock ended up that day it will be green, and highlight the whole row as green. This is fine, but the premarket/aftermarket data should be green or red depending on whether it's trading lower or higher independent of what happened during regular trading hours.
Also can you set and allow some more custom colors?
Particularly can you set this under the main.go function?
termbox.SetOutputMode(termbox.Output256)
This will allow the use of 256 colors to be set, while still allowing the default ones that are currently be used. But can you also allow custom colors, e.g. up to three of them to be set using the config file? So under profile.go, allow the custom colors to be set under IsSupportedColor, and get the number for the custom color from the config file? So under markup.go under func NewMarkup you need to put something like markup.tags[customcolor1] = termbox.Attribute(configcustomcolor), where the custom color is a number from 1-255, whose color #s and corresponding color can be found here. https://askubuntu.com/questions/821157/print-a-256-color-test-pattern-in-the-terminal