Commit Graph

17 Commits

Author SHA1 Message Date
erroneousboat
36e263329c Update termbox handlers
termbox.PollEvent sometimes trigger a panic whil typing in the
input box (#58). I took note from https://github.com/nsf/godit
and implemented and extra event handler that should potentially
handle more events from termbox.
2017-08-26 14:41:54 +02:00
erroneousboat
1ae769c7ca Update event handlers
* Terminal is now returned to normal when quitting
* Fix resize handler
* Update structure event handling
2017-07-30 15:23:47 +02:00
erroneousboat
cee4e6b6af Add search functionality
Fixes #21
2017-07-16 14:43:02 +02:00
erroneousboat
692773a23f Add custom icons for channels
This will add:

* An icon for channels
* An icon for groups
* An icon for im channels

It will also add an icon that identifies the presence
of a user.

Fixes #44
2017-07-15 21:09:08 +02:00
erroneousboat
e3ca3b4621 Add custom eventstream for termui
In order to fix issue #47 I've added a custom eventstream
to termui that will deregister its own eventstream.

This will ensure me that the events will not be sent to
termui's (unbuffered) event channel and will be picked
up by the buffered termbox channel of slack-term.

Fixes #47
2017-07-15 15:57:59 +02:00
erroneousboat
adeaee3b0f Add EventQueue to AppContext
This should alleviate some problems with using the application and
getting the error:

panic: runtime error: slice bounds out of range

However, I'm still able to trigger this event when scrolling
the mouse wheel.

Fixes #47
2017-03-17 14:43:08 +01:00
erroneousboat
165a776a3d Update external packages 2017-03-17 14:43:08 +01:00
erroneousboat
156128a127 Add Channel topic next to channel name in chat window
Fixes #45
2016-10-30 16:02:11 +01:00
erroneousboat
5d11b6b785 Add help page
Fixes #11
2016-10-30 14:26:12 +01:00
erroneousboat
b3e361c4da Add read mark for channels
Fixes #12
2016-10-30 10:37:52 +01:00
erroneousboat
7e57b42c91 Add timeout when changing channels
Fixes #25
2016-10-29 22:48:27 +02:00
erroneousboat
ad948508f4 Make keys mappable 2016-10-29 17:57:58 +02:00
Chris Marshall
b7feeede86 Read key mappings from configs and execute actions 2016-10-27 12:53:37 -04:00
Chris Marshall
c5f561793e Define key mapping maps for lookup on key presses 2016-10-27 12:51:33 -04:00
Chris Marshall
f9c41c2f95 Standardize action interface to accept AppContexts 2016-10-27 12:51:06 -04:00
erroneousboat
ada81bbfeb Add non-ascii support
Fixes #30
2016-10-21 21:23:25 +02:00
erroneousboat
10e4469bae Update project structure 2016-10-19 09:11:35 +02:00