Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If terminfo could not be found, set
Reline::Terminfo.enabled == false
Fix ruby#447 ruby#543 This problem occurs when Fiddle can be loaded, curses can be loaded, and TERM is not registered in Terminfo. It should also occur at hardcopy terminals and when Terminfo information is low, but no such reports have been received. Reline should not abort the process because of missing Terminfo. Reline proceeds with `Reline::Terminfo.enabled == false` when fiddle or curses cannot be loaded. https://github.com/ruby/reline/blob/ebab2875f1226f877376558d8758bc0e2a1776c7/lib/reline/terminfo.rb#L156-L160 And does the same when Terminfo is present but TERM is not. You can check the operation with `TERM=foo bundle exec bin/console`.
- Loading branch information