Commit graph

10 commits

Author SHA1 Message Date
Daisuke Maki 4594f2d26d newMutex, sync.Locker 2014-10-14 16:44:33 +09:00
Daisuke Maki 4952013023 oops, forgot to delete these 2014-09-24 20:26:07 +09:00
Daisuke Maki 4c078d6505 Fix a race condition that existed between clear status and print status
For whatever reason I was thinking at the time, I had split the channels
to receive request to print to and clear the status message. This
basically means that, even if you meant to print X and then clear it
in 500 milliseconds, the clear request could actually arrive BEFORE
the print message.

This change basically puts all the status related request into one
channel, so that all requests can come sequentially
2014-09-08 14:41:06 +09:00
Daisuke Maki 4b7f66fcbc Draw prompt before running the query
This basically makes it easier for the users to see what exactly they
are waiting for. Previously we ran the filter, then re-drew the screen.
But this could take a while if the buffer is really big or the matcher
is slow, and therefore you would be stuck with a really old version of
your query in the screen for a while.

This change basically forces a redraw of the prompt alone before running
the query, which was something I meant to do for a long time, and now
possible because I split up the drawing in the layout object to
Prompt/Status/Lines sections
2014-09-06 18:25:14 +09:00
Daisuke Maki 05e065d026 Try very hard to keep data == nil when it's nil 2014-08-27 11:37:35 +09:00
Daisuke Maki 065ca648c4 This change show current key sequence being handled 2014-07-15 09:23:03 +09:00
Daisuke Maki d2c422250e golint 2014-07-12 16:32:09 +09:00
Daisuke Maki da74cec637 Convert paging to HubReq 2014-07-11 17:43:13 +09:00
Daisuke Maki c6e9d97f1f Change to use HubReq to communicate 2014-07-11 17:14:03 +09:00
Daisuke Maki 8efd69240f Refactor channels to a hub struct 2014-07-11 14:57:27 +09:00