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

Nil config items cause execeptions by not causing use of default values #774

Open
ddoherty03 opened this issue Nov 4, 2024 · 0 comments

Comments

@ddoherty03
Copy link

Description

When I set certain options, Readline would set them to default values, but not Reline:

::Readline.input = nil  # Should set input to $stdin
::Readline.output = nil  # Should set output to $stdout
::Readline.special_prefixes = nil  # Should set to empty string ''

What are your expected behavior and actual behavior of your environment?

In Reline, these seem to keep and use the nil value, raising errors. I would expect it to behave the same as Readline if it aspires to be a drop-in replacement for it.

The above are those I've stumbled across. Should see that all config options get the Readline default when set to nil.

Terminal Emulator

What's your terminal emulator?

KDE's konsole, but this is independent of the emulator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant