Commit graph

28 commits

Author SHA1 Message Date
Daisuke Maki 61b5d22fb8 Move stuff around for better code organization 2016-12-14 11:00:22 +09:00
Daisuke Maki 7d9e87304a remove direct access to .current 2016-06-23 05:15:39 -04:00
Daisuke Maki 3b98bf9bde protect regexpfilter, one more filter set 2016-06-23 05:07:42 -04:00
Daisuke Maki 215572ff58 use accessors 2016-06-23 05:00:48 -04:00
Daisuke Maki 1785e73cd5 Test that -h/--help does what's intended 2016-06-18 17:40:33 +09:00
Daisuke Maki 4df1abb45b Set peco.Argv 2016-06-18 17:40:33 +09:00
Daisuke Maki 9ef1da7a71 Ah, finally realized that Input was looking at a stale version of peco.Keymap 2016-06-18 17:40:33 +09:00
Daisuke Maki 45343ab1cc Wait for key event to be delivered 2016-06-18 17:40:33 +09:00
Daisuke Maki 3e9476676e Make screen a member of Peco struct, not a global 2016-06-18 17:40:33 +09:00
Daisuke Maki 098b88c90d more fixes 2016-06-18 17:40:33 +09:00
Daisuke Maki 7a239e4592 Fix tests, and things that change with it 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
Daisuke Maki 97728cbc21 run gofmt
refs #269
2015-09-29 14:21:15 +09:00
Syohei YOSHIDA 5996542fe4 Correct format specifiers 2015-09-15 13:24:05 +09:00
Daisuke Maki 03e0c99432 Implement BackToInitialFilter
fixes #252
It is by default NOT mapped to any key.
2015-07-11 16:58:01 +09:00
Daisuke Maki 20269a268d Pretty much revert the previous change
Just use StringWidth when printing the query
2015-03-17 15:39:36 +09:00
Daisuke Maki 100742b9d9 Properly kick DrawPrompt when the cursor position changes 2015-03-17 15:37:51 +09:00
Daisuke Maki e8915c03cb More refactoring for testing 2015-03-17 15:37:48 +09:00
Daisuke Maki 6fc11b7568 Add small test 2015-03-17 15:37:48 +09:00
Daisuke Maki 2f1f4cbb63 Fix a bunch of race conditions 2014-10-08 20:50:57 +09:00
sona_tar 81c34e5a2a exec gofmt 2014-09-03 05:55:09 +09:00
Daisuke Maki f90771c6cd Add tests for DeleteForwardWord 2014-09-01 20:15:35 +09:00
Daisuke Maki 2aef061145 Add tests and make deletebackwardword more consistent 2014-09-01 19:32:58 +09:00
Daisuke Maki fc6469a46d Test DeleteBackwardChar 2014-09-01 18:28:41 +09:00
Daisuke Maki f03f9f0e62 More testing DeleteForwardChar 2014-09-01 18:24:09 +09:00
Daisuke Maki 9f20cf2d44 Start adding tests for actions 2014-09-01 18:12:32 +09:00
Daisuke Maki 73473f0201 golint 2014-07-23 18:12:50 +09:00
Daisuke Maki 2101415c1d Added all actions that's currently on the README to a simple test 2014-07-03 15:49:27 +09:00