Changes:
- Stream is colored now
- Stream is formatted
- Stream has it's own formatting option
- Colors are now a style, and is a struct
- Color struct has a pretty cool functional interface
- colored mentions and PMs
- Every message uses the same function (it's dry!!)
- Colorize errors!
- Create function for visualizing errors
- colorized some of the command output!
- Color is stored in a Style
- Create a Text struct that can use to stylize strings "easily"
- Text can be used to build strings
- color highlighting on code
- added tml config support
- added different color for mention url
- Added sprintf to use formatting with PrintFeed and PrintError
Known Bugs: (added as todos whereever)
- Cannot use multiple formatting at the same time (*bold _italic_*
doesn't work
- sprintf is pretty shit
- background doesn't cover as a `block` in codeblocks
- not possible to escape sprintf thing
- Created new file colors.go
- Added color options to the UserConfig
- Possible to disable colors (in UserConfig)
- Fixed a bug where the login screen says `/j` and not `{cmdChar}j`
- Changed how attachments look - so it's clear it isn't just a message
saying that
- Changed how formatOutput works (to be more DRY)
- Colored unread messages
Changes to be committed:
new file: colors.go
modified: main.go
modified: userConfigs.go