Junegunn Choi
|
750b2a6313
|
Add GET endpoints for getting the state of the finder
* GET / (or GET /current)
* GET /query
|
2022-12-25 16:27:02 +09:00 |
|
Junegunn Choi
|
1a9761736e
|
Add time and size limit to remote requests
|
2022-12-22 20:44:49 +09:00 |
|
Junegunn Choi
|
fd1f7665a7
|
Abort fzf if --listen port is unavailable
|
2022-12-21 13:02:25 +09:00 |
|
Junegunn Choi
|
cf69b836ac
|
Only trim CR and NF from the submitted expression
So the trailing space in the following case is respected.
curl -XPOST localhost:6266 -d "change-prompt:$(date)> "
|
2022-12-21 01:35:08 +09:00 |
|
Junegunn Choi
|
4b055bf260
|
Rewrite HTTP server without net/http
This cuts down the binary size from 5.7MB to 3.3MB.
|
2022-12-21 01:35:08 +09:00 |
|