Re: [Midnight Commander] #147: Fix escaping for completion on cmdline (spaces, backslashes, etc).



#147: Fix escaping for completion on cmdline (spaces, backslashes, etc).
---------------------------------------------------+------------------------
  Reporter:  Patrick Winnertz <winnie debian org>  |       Owner:  winnie  
      Type:  defect                                |      Status:  accepted
  Priority:  major                                 |   Milestone:  4.6.2   
 Component:  mc-core                               |     Version:  4.6.1   
Resolution:                                        |    Keywords:  review  
  Blocking:                                        |   Blockedby:  157     
---------------------------------------------------+------------------------
Changes (by slyfox):

  * keywords:  rework => review


Comment:

 Partially reworked completion engine: adedd INPUT_COMPLETION_FLAGS state
 to all completion functions, which helps to separate completion contexts.

 147_escaping fixes:

 * completion of regular files after command:
 > -rw-r--r-- 1 winnie winnie 0 27. Jan 20:35 " file"
 > -rw-r--r-- 1 winnie winnie 0 27. Jan 20:35 " file$test"
 > -rw-r--r-- 1 winnie winnie 0 27. Jan 20:35 " file&test"
 > $ less /tmp/<complete>
 > $ less ./<complete>

 * cd command now acts as \cd (accepts escaped dirs)

-- 
Ticket URL: <www.midnight-commander.org/ticket/147#comment:28>
Midnight Commander <www.midnight-commander.org>
Midnight Development Center


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