Try this?
https://github.com/fish-shell/fish-shell/blob/master/complete.cpp
On May 5, 2013, at 3:07 AM, Bert <bgmuthal...@gmail.com> wrote:
> Hi, I apologize in advance because this question is off-topic, but how does
> fish-shell do the immediate update of the terminal for per-character feedback
> for the user?
>
> To be more specific, what C function or library might I use to implement a
> predictive autocomplete for a user without requiring them to hit the TAB key?
>
> I am trying to figure out how to implement the same kind of
> typeahead/autocomplete in another command-line application I am working on.
>
> Thanks so much in advance.
>
> Sincerely,
> Bert
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite
> It's a free troubleshooting tool designed for production
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap2_______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users