0

I am writing a custom gnu readline completer and I found a strange quirk in handling the minus sign.

If my input is 'har' then the completer is called with the text 'har', however if my input is 'hard-r' the completer is called with text 'r'.

I am wondering what I am doing wrong?

uuu777
  • 765
  • 4
  • 21

1 Answers1

0

I have to use set_completer_delims() to modify word delimiters.

uuu777
  • 765
  • 4
  • 21