Daisuke Maki
ce2d7f812a
Remove termbox-go from various places
...
* Events are now abstracted.
* Screen is abstracted.
* Printing is encapsulated in a "Command"
2020-12-22 18:19:58 +09:00
Daisuke Maki
8075a29013
First pass at removing termbox from common APIs
...
Start tackling from styles. This commit still should break
the existing application, as there are still instances where
the termbox-native styles are accessed directly via struct field
lookups.
Because we separated colors from attributes, you can no longer
simply refer to Style.fg without merging them aith the attributes
such as bold, underline, etc.
Meanwhile, in order to fix tests we have dicovered the existance
of os.UserHomeDir(), so we're going to use that.
2020-12-21 13:12:03 +09:00
Thomas Aynaud
281db7f5e3
Go fmt
2018-06-18 13:50:20 +02:00
Daisuke Maki
61b5d22fb8
Move stuff around for better code organization
2016-12-14 11:00:22 +09:00
Daisuke Maki
8b384d914e
Skip reading from rcfiles when running tests
2016-10-05 14:19:00 +09:00
Daisuke Maki
25d942b08b
Add notion of "top-level" actions
...
This is used to by-pass locking the hub.Batch operation when
we have nested action calls that use batching internally.
fixes #345
2016-09-30 18:20:25 +09:00
Daisuke Maki
bf689d4255
Tweak things
2016-09-25 04:26:37 -05:00
Daisuke Maki
e261219f4b
one less reflect in the world
2016-06-23 02:55:12 -04:00
Daisuke Maki
c010abbb4e
Enable this test, too
2016-06-18 17:40:33 +09:00
Daisuke Maki
406cfe3bd7
Trying to get rid of "everything is a Ctx"
2016-06-18 17:39:02 +09:00
Yasuhiro Matsumoto
afbf55afc5
fix test
2015-11-09 13:19:56 +09:00
Daisuke Maki
97728cbc21
run gofmt
...
refs #269
2015-09-29 14:21:15 +09:00
Daisuke Maki
c2e45a1637
Test for --layout being empty
...
This is the actual cause for #212
2014-12-11 11:28:08 +09:00
Daisuke Maki
82451d844c
Add tests for #212
...
So far I can't reproduce what @syohex said on
https://github.com/peco/peco/issues/212#issuecomment-66556379 :(
2014-12-11 11:08:14 +09:00