nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] tab completion in the browser


From: Rishabh Dave
Subject: Re: [Nano-devel] tab completion in the browser
Date: Fri, 29 Apr 2016 18:25:45 +0530

On Thu, Apr 28, 2016 at 5:19 PM, Benno Schulenberg
<address@hidden> wrote:
>
>
> It seems that present_path needs to be concatenated with buf
> before cwd_tab_completion() is called.
>
Ohk... That means every buf passed to cwd_tab_completion should
contain absolute path. But won't editing the buf would make scenario
more complicated? It is used a lot for first: we display buf at
prompt. Thus, tabbing would change prompt's content. (This did happen
to me.)

We could also make path absolute for is_dir and then trim it again. I
guess, not a very clean idea but much less complicated.
I have applied this method and tested it. It works.

Attachment: special-arrangement-for-is_dir.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]