1
0
mirror of https://github.com/Rudi9719/kbtui.git synced 2026-03-23 11:27:23 +00:00
Commit Graph

166 Commits

Author SHA1 Message Date
01bb599f56 Amend: put .string() back
I have no idea why it disappeared
2019-12-07 02:39:18 +01:00
3821891898 Made the dev flag actually usable
With this commit it is possible to set the dev flag to true, which will allow you to send and receive chat messages in dev channels only. You can use this to test kbtui without being disruptive.
2019-12-07 02:23:26 +01:00
db08278780 Remove auto-RAMRAPE and instead have it triggered on command 2019-12-06 11:24:28 -05:00
5c5ebc1d45 Merge branch 'dev' into show-follow 2019-12-01 15:14:30 -05:00
023f22a1ea More User Info
Added:
- `/inspect` (`/id`)
- `/follow`
- `/unfollow`
2019-12-01 20:42:59 +01:00
bc7ef238de minor formatting fixes 2019-11-28 20:24:09 +01:00
1d95fea9f3 Revised some styling elements
- Colored block codes in a whole block
- Colored quotes
- Fixed a few bugs
2019-11-13 17:47:45 +01:00
69b5442ac9 Merge pull request #39 from haukened/fix-list-populate
Fix list populate
2019-11-01 10:06:30 -04:00
27261223f0 updated populateChat() to call populateList() to mark chat messages as read when joining a channel or refreshing the chat 2019-10-31 08:48:16 -06:00
aa01e9cb40 Fix <code> tag formatting to show code properly 2019-10-31 08:39:39 -04:00
e4784e4fb2 updated function names 2019-10-30 12:51:04 -06:00
e1c8890721 updated to not scroll past the bottom of the chat 2019-10-30 09:54:26 -06:00
60c5302aec added scrolling functionality 2019-10-29 18:21:06 -06:00
5e6e97d7f6 updated to have lastChat var and new keybinding for CTRL+z 2019-10-29 15:37:01 -06:00
a03b5ff630 updated to use new config variable 2019-10-28 15:58:33 -06:00
e67b0e4265 resolving merge conflicts 2019-10-28 15:46:05 -06:00
384d0cfd9c Merge branch 'tab-fix-01' of https://github.com/haukened/kbtui into dev 2019-10-28 16:47:18 -04:00
33551d9c8b Merge branch 'ColorsAndConfigCleanup' of keybase://team/kbtui.dev.dxb/kbtui into dev 2019-10-28 16:33:44 -04:00
2fb6bb0bc0 added emoji unicode and resolution support 2019-10-26 14:13:03 -06:00
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
Sam
33a68670c9 Clean up colors, clean up config, make config actually be used, add default config 2019-10-25 17:18:50 -04:00
Sam
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
55ac19beb3 Auto load config TOML from #17 2019-10-24 09:49:21 -04: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
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
e692500606 removed os.Args in favor of flags functionality. created emoji flag 2019-10-20 15:54:17 -06:00
707195232e Better attachment handling after PR to samhofi.us/x/keybase 2019-10-18 14:50:02 -04:00
da86d2cceb Merge branch 'dev' into dev 2019-10-18 07:14:50 -06:00
09c207d4be Bugfix: extra junk after +/- commands cause crash #20 2019-10-18 07:27:09 -04:00
e9ac10ecbf Merge remote-tracking branch 'upstream/dev' into dev 2019-10-17 11:07:22 -06:00
dffff400ff changed handleTab() to accomodate viewName 2019-10-17 11:04:51 -06:00
5ed7cb6972 moved all tabcomplete to external file 2019-10-17 11:00:55 -06:00
5aeb62ef18 moved tab completion to separate file, updated handleTab() to new structure. Created new global to hold a copy of the tab completion slice thats always up to date instead of generating each time, hooked completion options updates into view updates and channel join activity. 2019-10-17 10:03:04 -06:00
9bb1bb60bd Odd bug with attachments displaying a random message, squashed. 2019-10-17 10:33:37 -04:00
80d2f79379 Color date same as time for users who separate the two 2019-10-17 10:32:08 -04:00
3b0711a782 Feature: Up arrow to edit previous message 2019-10-17 08:54:37 -04:00
09953ead7d Bugfix where PMs wouldn't auto-update chat view 2019-10-17 08:50:54 -04:00
d528568137 Fix bug where Ctrl+C in edit will close kbtui rather than return to regular views 2019-10-17 08:45:16 -04:00
03969db8a9 Fix write to feed to be print instead 2019-10-17 08:39:05 -04:00
b212310ec4 Clean up unused else statement 2019-10-17 08:20:20 -04:00
9fbf0c52f2 Refactor delete_empty as per Go naming conventions 2019-10-16 19:58:33 -04:00
3a3fe225ba Merge cleanup and dev 2019-10-16 19:53:58 -04:00
1aac6fc7ce Bugfix: Empty command crashes the program #9 2019-10-16 19:45:01 -04:00