Daisuke Maki
761b700aab
add proper newline
2015-03-17 15:37:50 +09:00
Daisuke Maki
e8915c03cb
More refactoring for testing
2015-03-17 15:37:48 +09:00
Daisuke Maki
99c4e9b6d0
Move CLI stuff to cli.go (in anticipation of future testing work)
2015-03-17 15:37:48 +09:00
Daisuke Maki
4af9fc5b43
lestrrat's work in progress
2015-03-17 15:37:48 +09:00
Daisuke Maki
f0c506536a
version++; this is v0.2.12
2015-02-27 06:55:20 +09:00
Daisuke Maki
0ad82671a0
version++; this is v0.2.11
2014-12-16 07:41:05 +09:00
Daisuke Maki
c44aa5794c
Make sure we have the correct default values for layoutType
...
1. the peco command's --layout should have a default value
2. NewCtx(...) should not set the value of layoutType if the value is ""
fixes #212
2014-12-11 11:29:08 +09:00
Daisuke Maki
5e28de0a64
Simple change to avoid using an array
...
Use a channel instead of an array -- no reason, really, but all those
seemingly duplicate []Match declarations were starting to annoy me
2014-11-01 21:05:31 +09:00
Daisuke Maki
bd7ceaf6f5
more fixes against matcher
2014-10-08 21:11:10 +09:00
Daisuke Maki
a6d046394c
version++; this is v0.2.10
2014-09-24 19:11:35 +09:00
Daisuke Maki
98b19505e5
version++; this is v0.2.9
2014-09-08 10:26:53 +09:00
sona_tar
81c34e5a2a
exec gofmt
2014-09-03 05:55:09 +09:00
sona_tar
57a546c8f2
Refacotr about checking bool type
2014-09-03 05:44:49 +09:00
sona_tar
0446c97734
Fix initial-matcher error message
2014-09-03 00:11:02 +09:00
sona_tar
f380195c2e
Return Error, if Invalid Matcher
2014-09-02 23:24:46 +09:00
Daisuke Maki
541446a87c
version++; this is v0.2.8
2014-09-01 15:10:10 +09:00
Daisuke Maki
54497c83f8
version++; this is v0.2.7
2014-09-01 10:18:24 +09:00
Daisuke Maki
b1f78317b0
version++; this is v0.2.6
2014-08-31 07:24:53 +09:00
lestrrat
9fcafb70b6
Merge pull request #177 from peco/testing
...
merge testing branch
2014-08-31 07:18:16 +09:00
Daisuke Maki
3daa824e8e
Refactor exitStatus
2014-08-27 14:13:40 +09:00
Daisuke Maki
b7605254a7
Apply conversion
2014-08-22 14:27:23 +09:00
mattn
bb1ea393a1
Cosmetic change
2014-08-21 20:39:16 +09:00
Daisuke Maki
1e02a23bbb
FINALLY do away with the redandunt specification of option description
2014-08-21 20:31:45 +09:00
kei-s
9dfe97008a
Fix to show prompt by command line option
2014-08-20 20:05:05 +09:00
Daisuke Maki
6362fbc763
version++; this is v0.2.5
2014-08-18 12:08:11 +09:00
Daisuke Maki
f9ee817fd5
Allow setting layout from config file
...
...So you don't have to type it all the time!
2014-08-16 21:13:32 +09:00
Daisuke Maki
7ed340e6ad
Make layout selectable from command line
...
Note: bottom-up is still broken
2014-08-16 18:17:39 +09:00
Daisuke Maki
5d7f648535
version++; this is v0.2.4
2014-08-13 15:09:20 +09:00
mattn
67b59846f1
Add deprecated in doc
2014-08-08 14:43:12 +09:00
mattn
70f0c2f06a
Initial matcher
2014-08-08 12:14:34 +09:00
Daisuke Maki
b8e0c8f37d
version++; this is v0.2.3
2014-07-28 16:00:15 +09:00
Daisuke Maki
13f85d3884
version++; this is v0.2.2
2014-07-23 16:37:07 +09:00
Daisuke Maki
22fc3a48e7
version++; this is v0.2.1
2014-07-15 15:03:00 +09:00
Daisuke Maki
620e324c5e
golint
2014-07-12 16:41:30 +09:00
Daisuke Maki
9f06c37030
version++; this is v0.2.0
2014-07-07 12:09:30 +09:00
Daisuke Maki
4c7616b515
Delay the terminal initialization until incoming buffer is ready
...
This change fixes #144 by delaying all the terminal initialization
until there's something coming in from the standard input.
Without this, for example, a succesive chain of commands that expect to
use stdin will fail, because peco might accidentally grab the stdin
under the hood. With this change, peco is forced to wait to do any
terminal related stuff until some output has been spewed by the
previous command (which is most likely when the command is ready to
give up the control of the terminal), so things work again.
2014-07-07 09:44:35 +09:00
Yuya Takeyama
751752cd36
Add --prompt option
2014-07-05 18:38:34 +09:00
HIROSE Masaaki
e552754549
Document on --initial-index
2014-07-03 10:08:13 +09:00
HIROSE Masaaki
e7b4659f4b
Change number of --initial-index from one-based index to zero-based (same as percol)
2014-07-03 00:18:25 +09:00
HIROSE Masaaki
2184a62a7f
Support --initial-index option like percol
2014-07-02 20:44:44 +09:00
Daisuke Maki
3b35ac2883
Refactor NewCtx so that it receives the options struct
...
see
9660496d99 (commitcomment-6857198)
2014-07-02 09:00:42 +09:00
Daisuke Maki
9660496d99
Implement -b / --buffer-size
...
This adds -b / --buffer-size to the peco binary. It basically limits the
maximum number of lines that peco will hold at any given time, allowing
you to keep peco running for a long time, even when you are receiving an
infinite stream of lines.
By default the buffer size is unlimited. If --buffer-size is specified,
lines will be thrown away in FIFO order
2014-07-02 00:32:08 +09:00
Daisuke Maki
1624c5fb7b
Slightly refactor the component kick start
...
I just realized you should be able to put all this in a loop, so I did
2014-07-01 20:31:05 +09:00
Daisuke Maki
407f6bd25c
version++; v0.1.12
2014-07-01 15:28:03 +09:00
Daisuke Maki
d5c61e88cd
Change IsTty() to IsTty(uintptr)
2014-07-01 12:02:17 +09:00
Daisuke Maki
6d6c57c1ce
Implement an asynchronous buffer reader
...
should fix #113
2014-07-01 10:16:10 +09:00
Daisuke Maki
0eb4507877
change ExecQuery() to not take any parameters
...
ExecQuery() now just executes c.query if it's not an empty string
2014-07-01 08:47:46 +09:00
mattn
99a06edc5a
Output error message when specified file is not exists
2014-07-01 02:37:31 +09:00
Daisuke Maki
a4bebcc69a
version++; this be v0.1.11
2014-06-30 20:22:10 +09:00
Daisuke Maki
7e9bb7994d
version++; v0.1.10
2014-06-25 22:46:17 +09:00