Commit Graph

5 Commits

Author SHA1 Message Date
Simon Forman 7485383d9f Allocate a buffer just large enough.
I figure that's worth the overhead of iterating twice.  It's happening
during a user interaction so there's plenty of time, eh?
2023-02-20 16:23:41 -08:00
Simon Forman eeb935fa07 Break up completion into simple and prefixed cases. 2023-02-20 16:04:12 -08:00
Simon Forman c0b582567a Handle completion of symbols with a prefix...
You can type stuff and then tab and it will work.  Before it would try
to complete the whole line, which didn't work.
2023-02-20 15:48:59 -08:00
Simon Forman 2d3c17c152 Linenoise with rax. 2023-02-20 12:53:58 -08:00
Simon Forman 7d93262c81 Let's use rax to generate tab completions? 2023-02-20 11:19:27 -08:00