Skip to content

redline.append_history fails on macOS #43

@DNSGeek

Description

@DNSGeek

The built in libreadline on macOS does not have append_history, causing the writing of the history file to fail on exit. I tried to submit a PR but did not have permission. Here is my change:

line 373

              # Check for missing append_history. Will fail on macOS
              if "append_history" not in dir(readline):
                  readline.write_history_file(config.HISTFILE)
                  return

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions