liner icon indicating copy to clipboard operation
liner copied to clipboard

Add an example for filepath tab completion

Open krasi-georgiev opened this issue 2 years ago • 4 comments

Would you consider adding an example for a prompt that auto completed file names on tab presses?

krasi-georgiev avatar Mar 22 '22 10:03 krasi-georgiev

I would consider adding such an example if it is small and to the point. My main concern is that proper filesystem access often requires much error checking, which might make the example more about the filesystem access and less about liner.

peterh avatar Mar 22 '22 20:03 peterh

Could you share some code here as a starting point and I will use it to see if it turns out to be working well or not

krasi-georgiev avatar Mar 22 '22 20:03 krasi-georgiev

Sorry, I misunderstood. I thought you offering to write an example for others.

peterh avatar Mar 22 '22 20:03 peterh

yeah I thought this is a common feature so was hoping someone already wrote it.

krasi-georgiev avatar Mar 22 '22 21:03 krasi-georgiev