de05697c89
reverting main.go to upstream
2019-10-26 13:32:02 -06:00
bb3ec46a43
Merge branch 'tab-fix-01' into dev
2019-10-26 13:25:16 -06:00
790d295e2e
fixes issue with tab completion where commands would not clear input box titles
2019-10-26 13:22:59 -06:00
2484578775
Merge remote-tracking branch 'upstream/dev' into dev
2019-10-26 13:08:32 -06:00
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
7408db2625
fixed replacements to use regex so to not break strings
2019-10-23 16:59:46 -06:00
299f5103a5
upstream merge
2019-10-23 16:01:54 -06: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
e692500606
removed os.Args in favor of flags functionality. created emoji flag
2019-10-20 15:54:17 -06:00
b0ea0c0b63
added notes
2019-10-20 15:53:40 -06:00
0ba2507891
added error handling
2019-10-20 14:35:43 -06:00
bd02981b52
new funcs to render unicode emojis and resolve emoji aliases
2019-10-20 14:33:10 -06:00
6d86fdd578
Added unicode emoji support global
2019-10-19 15:17:26 -06:00
f7f0e61ecd
fixed bad return statement
2019-10-19 14:57:11 -06:00
0ccf655aa4
fixed missing struct member
2019-10-19 14:54:45 -06:00
f65ac0e231
updated to use new static emoji map for tab completion
2019-10-19 14:53:14 -06:00
517e8ecd46
added static emoji map with unicode and descriptions
2019-10-19 14:52:55 -06:00
dd81d08db7
removed dynamic emoji building
2019-10-19 14:52:05 -06: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