janeway icon indicating copy to clipboard operation
janeway copied to clipboard

Autocomplete

Open piranna opened this issue 10 years ago • 9 comments

Add support for autocomplete

piranna avatar Jun 14 '15 20:06 piranna

I've added some basic autocomplete functionality. Quickly written, very alpha, but it gets the job done pretty well.

skerit avatar Jan 20 '16 10:01 skerit

Something is better than nothing :-)

piranna avatar Jan 20 '16 21:01 piranna

I've seen the autocomplete example on the readme and looks cool :-) To make it cooler I think it should:

  • [x] use only the width of the biggest suggestion instead of all available space up to right margin
  • [x] don't show emply lines
  • [ ] show first suggestion directly on the input field space

piranna avatar Jan 26 '16 17:01 piranna

Good ideas!

skerit avatar Jan 26 '16 21:01 skerit

You are welcome :-)

piranna avatar Jan 26 '16 22:01 piranna

Well it took a while, but the width & empty lines changes have been implemented and will be released with v0.2.3.

Not too sure about the "show first suggestion..." one, it's a lot of work for a minor feature.

skerit avatar Aug 11 '17 16:08 skerit

Not too sure about the "show first suggestion..." one, it's a lot of work for a minor feature.

We can have this issue open until a solution appear, maybe future API changes (if any) makes it easier...

Could you be abe to update the readme screenshoot? How have you recorded it?

piranna avatar Aug 28 '17 07:08 piranna

I don't really remember, I think byanz, but I might try to record it using peek this time.

skerit avatar Aug 28 '17 15:08 skerit

FYI: Peek has a bug where it generates a very noisy gif, which breaks compressability and generates +/- 10MiB gifs, I created an issue here: https://github.com/phw/peek/issues/288

So I'm using byzanz again to create the gifs, and then compress them further using the gifsicle-lossy fork.

skerit avatar Mar 08 '18 17:03 skerit