Gregory Rudolph
ae9f71be96
Remove comment for debugging print
5 years ago
Gregory Rudolph
67fc7c6e5d
Check if api.Result is nil before reading it in populateChat()
5 years ago
Gregory Rudolph
fc48ad5c4a
Add replies to messages
5 years ago
Gregory Rudolph
66e2552a7e
Don't error out on api errors
5 years ago
Gregory Rudolph
0a4c2614a8
Fix multiline code to have newlines for mkbot gameroom etc
5 years ago
ellipticcurv3
01bb599f56
Amend: put `.string()` back
...
I have no idea why it disappeared
5 years ago
ellipticcurv3
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.
5 years ago
Gregory Rudolph
db08278780
Remove auto-RAMRAPE and instead have it triggered on command
5 years ago
Casper Weiss Bang
023f22a1ea
More User Info
...
Added:
- `/inspect` (`/id`)
- `/follow`
- `/unfollow`
5 years ago
Casper Weiss Bang
bc7ef238de
minor formatting fixes
5 years ago
Casper Weiss Bang
1d95fea9f3
Revised some styling elements
...
- Colored block codes in a whole block
- Colored quotes
- Fixed a few bugs
5 years ago
David Haukeness
27261223f0
updated populateChat() to call populateList() to mark chat messages as read when joining a channel or refreshing the chat
5 years ago
Gregory Rudolph
aa01e9cb40
Fix <code> tag formatting to show code properly
5 years ago
David Haukeness
e4784e4fb2
updated function names
5 years ago
David Haukeness
e1c8890721
updated to not scroll past the bottom of the chat
5 years ago
David Haukeness
60c5302aec
added scrolling functionality
5 years ago
David Haukeness
5e6e97d7f6
updated to have lastChat var and new keybinding for CTRL+z
5 years ago
David Haukeness
a03b5ff630
updated to use new config variable
5 years ago
David Haukeness
2fb6bb0bc0
added emoji unicode and resolution support
5 years ago
David Haukeness
de05697c89
reverting main.go to upstream
5 years ago
David Haukeness
790d295e2e
fixes issue with tab completion where commands would not clear input box titles
5 years ago
Sam
33a68670c9
Clean up colors, clean up config, make config actually be used, add default config
5 years ago
Sam
f09f2969d9
Fix bug in colorRegex() that was highighting usernames in the middle of strings when a user wasn't actually being mentioned
5 years ago
Gregory Rudolph
55ac19beb3
Auto load config TOML from #17
5 years ago
Casper Weiss Bang
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
5 years ago
Gregory Rudolph
acf822e5a1
Add origin to moveCursorToEnd()
5 years ago
Gregory Rudolph
5eb23ff993
Bug #24 : Cursor now moves to end of message
5 years ago
Gregory Rudolph
e084c16ba8
Bugfix #24 : Set cursor of popupView to 0,0 to avoid strange input bugs
5 years ago
Gregory Rudolph
2dd635669c
Linting code
5 years ago
David Haukeness
e692500606
removed os.Args in favor of flags functionality. created emoji flag
5 years ago
Gregory Rudolph
707195232e
Better attachment handling after PR to samhofi.us/x/keybase
5 years ago
Gregory Rudolph
09c207d4be
Bugfix: extra junk after +/- commands cause crash #20
5 years ago
David Haukeness
dffff400ff
changed handleTab() to accomodate viewName
5 years ago
David Haukeness
5ed7cb6972
moved all tabcomplete to external file
5 years ago
David Haukeness
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.
5 years ago
Gregory Rudolph
9bb1bb60bd
Odd bug with attachments displaying a random message, squashed.
5 years ago
Gregory Rudolph
80d2f79379
Color date same as time for users who separate the two
5 years ago
Gregory Rudolph
3b0711a782
Feature: Up arrow to edit previous message
5 years ago
Gregory Rudolph
09953ead7d
Bugfix where PMs wouldn't auto-update chat view
5 years ago
Gregory Rudolph
d528568137
Fix bug where Ctrl+C in edit will close kbtui rather than return to regular views
5 years ago
Gregory Rudolph
03969db8a9
Fix write to feed to be print instead
5 years ago
Gregory Rudolph
b212310ec4
Clean up unused else statement
5 years ago
Gregory Rudolph
9fbf0c52f2
Refactor delete_empty as per Go naming conventions
5 years ago
Gregory Rudolph
1aac6fc7ce
Bugfix: Empty command crashes the program #9
5 years ago
Gregory Rudolph
077aff0928
Cleaning up
5 years ago
Gregory Rudolph
8e6724bdb6
refactor viewTitle() to setViewTitle()
5 years ago
David Haukeness
c621de57ca
removed debig line and changed to return empty slice
5 years ago
David Haukeness
5db54c9934
updated to pull channel members
5 years ago
David Haukeness
60c55b69bc
gofmt
5 years ago
David Haukeness
f61d212272
updated to restore original view title on enter
5 years ago