# New Ticket Created by  Sam S. 
# Please include the string:  [perl #125520]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=125520 >


In the REPL (with Linenoise installed), Tab completion works when invoked after 
a partially typed identifier, e.g.:

  "say spr" --[TAB]-> "say sprintf"

However, when invoked after a space or non-identifier character, it *replaces* 
the whole line with the suggestion rather than appending to the line:

  "say "    --[TAB]-> "ANON_ENUM"
  "say 1 +" --[TAB]-> "ANON_ENUM"

Expected behavior:

  "say "    --[TAB]-> "say ANON_ENUM"
  "say 1 +" --[TAB]-> "say 1 +<"

Reply via email to