Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(FL) Fix readline crash when using autocomplete with colored-completion-prefix turned on in Bash #2991

Merged
merged 2 commits into from
Nov 13, 2018

Commits on Nov 11, 2018

  1. Fix crashes from readline.

    This was reported including a first proposed fix by @ChrisJefferson
    ("Fix readline crash" gap-system#2986 in github.)
    
    With this patch the ~/.inputrc setting
    
    set colored-completion-prefix on
    
    should be supported correctly (by giving the word to be completed to
    readline's display function).
    frankluebeck committed Nov 11, 2018
    Configuration menu
    Copy the full SHA
    0a32f83 View commit details
    Browse the repository at this point in the history
  2. Fix reading of '$if GAP' part in ~/.inputrc

    Make sure that
      rl_readline_name = "GAP"
    is set before the
      rl_initialize();
    initialization of readline. Otherwise GAP specific settings in
    ~/.inputrc under
    
    $if GAP
      ...
    $endif
    
    are not read at startup.
    frankluebeck committed Nov 11, 2018
    Configuration menu
    Copy the full SHA
    7e2d4b8 View commit details
    Browse the repository at this point in the history