e033215cc9
Merge branch 'FixColorRegex' of keybase://team/kbtui.dev.dxb/kbtui into dev
2019-10-25 11:16:06 -04:00
029799494b
Add check that lastMessage.type = "text"
2019-10-25 10:59:01 -04:00
f09f2969d9
Fix bug in colorRegex() that was highighting usernames in the middle of strings when a user wasn't actually being mentioned
2019-10-24 22:23:25 -04:00
1a75ac8a49
Feature #17 - load ~/.config/kbtui.toml if it exists, otherwise use toml in dir
2019-10-24 09:51:22 -04:00
55ac19beb3
Auto load config TOML from #17
2019-10-24 09:49:21 -04:00
a083eb3ca6
Show what config file is being used in load
2019-10-24 09:48:24 -04:00
87d1b19aeb
Rename kbtui.tml to kbtui.toml as per spec for toml
2019-10-24 09:06:15 -04:00
987eba51cf
Check for env var config file
2019-10-24 09:04:25 -04:00
439f09aa1c
Mo' colors
...
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
2019-10-23 23:45:42 +02:00
3f33070635
Automatically run clean when configs are loaded from file
2019-10-23 10:31:43 -04:00
f04bf8e545
Bugfix: Load displayed an error because of missing return statement
2019-10-23 10:11:15 -04:00
005d737fee
Merge pull request #27 from Rudi9719/update-readme-mage
...
Update README.md
2019-10-22 13:59:30 -04:00
44310d09f5
Update README.md
...
Remove external dependency (keeping mage) as well as updating why Mage is required.
2019-10-22 13:59:19 -04:00
5557c17ad4
Merge pull request #25 from Rudi9719/dev
...
Updating from dev
2019-10-22 13:46:44 -04:00
ade1799115
Merge pull request #26 from Rudi9719/linting/tabcomplete
...
Linting/tabcomplete
2019-10-22 13:46:04 -04:00
20a687208a
Linting tabComplete for future Travis checks
2019-10-22 13:44:49 -04:00
acf822e5a1
Add origin to moveCursorToEnd()
2019-10-22 09:42:11 -04:00
5eb23ff993
Bug #24 : Cursor now moves to end of message
2019-10-22 09:30:18 -04:00
e084c16ba8
Bugfix #24 : Set cursor of popupView to 0,0 to avoid strange input bugs
2019-10-22 09:18:27 -04:00
2dd635669c
Linting code
2019-10-22 09:06:45 -04:00
cc917a515f
Remove printSetting switch from cmdSet
2019-10-22 08:45:37 -04:00
8cab261b1d
Add go-toml dep for #17 in mage
2019-10-22 08:32:30 -04:00
1d412ed5fd
Update Travis now that mage auto-checks dependancies
2019-10-22 08:32:05 -04:00
1fd39aa9ab
Bugfix: Add nullcheck for toml values from #18
2019-10-22 08:29:40 -04:00
db6e367fac
Bugfix: Up arrow in stream/start crashes application
2019-10-22 08:05:51 -04:00
2c9005064c
Merge branch 'MageCleanup' of keybase://team/kbtui.dev.dxb/kbtui into dev
2019-10-21 15:29:00 -04:00
b960ffdde4
Feature: add Config TOML file #17
2019-10-21 15:16:44 -04:00
112d2da2e8
Basic implementation of config file
2019-10-21 15:09:04 -04:00
14c7f9353a
Move exit helper func above first build target
2019-10-21 14:59:39 -04:00
dbf53680e6
Download package updates before building
2019-10-21 14:58:26 -04:00
514059e990
Separate standard lib imports from remote imports
2019-10-21 13:57:26 -04:00
707195232e
Better attachment handling after PR to samhofi.us/x/keybase
2019-10-18 14:50:02 -04:00
390a190bba
Failing go vet, due to lack of blank line
2019-10-18 12:32:34 -04:00
0e4171efe7
Travis please come back to dev
2019-10-18 12:28:57 -04:00
3fe0b19392
Travis works
2019-10-18 11:58:19 -04:00
553bfe55fb
Travis, are you there?
2019-10-18 11:17:31 -04:00
8cd30ab643
Update README.md for go get commands
2019-10-18 10:33:47 -04:00
1e8efd9c35
Merge pull request #21 from haukened/dev
...
Tab Completion Cleanup and Enhancements
2019-10-18 09:27:15 -04:00
da86d2cceb
Merge branch 'dev' into dev
2019-10-18 07:14:50 -06:00
09fb7ae56c
Update readme
2019-10-18 08:16:58 -04:00
946e11d6a1
Merge branch 'master' of https://github.com/Rudi9719/kbtui into dev
2019-10-18 08:09:25 -04:00
b9ed157ce5
Merge pull request #23 from Rudi9719/add-code-of-conduct-1
...
Create CODE_OF_CONDUCT.md
2019-10-18 08:09:21 -04:00
f83e3d1db2
Create CODE_OF_CONDUCT.md
2019-10-18 08:09:01 -04:00
f23f36c64f
Merge branch 'master' of https://github.com/Rudi9719/kbtui into dev
2019-10-18 08:07:10 -04:00
d08d4698bd
Update issue templates
2019-10-18 08:07:03 -04:00
689c6d9181
Merge branch 'master' of https://github.com/Rudi9719/kbtui into dev
2019-10-18 08:06:17 -04:00
d23901c90e
Create LICENSE
2019-10-18 08:06:06 -04:00
425bee3749
Merge branch 'master' of https://github.com/Rudi9719/kbtui into dev
2019-10-18 08:03:36 -04:00
b938962340
Create CONTRIBUTING.md
...
Github suggested I add this, so why not
2019-10-18 08:03:22 -04:00
cc129d466f
Show command used instead of hardcoded reply
2019-10-18 07:42:07 -04:00