Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions lib/reline/terminfo.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
begin
# Ignore warning `Add fiddle to your Gemfile or gemspec` in Ruby 3.4.
# terminfo.rb and ansi.rb supports fiddle unavailable environment.
verbose, $VERBOSE = $VERBOSE, nil
require 'fiddle'
require 'fiddle/import'
rescue LoadError
Expand All @@ -7,6 +10,8 @@ def self.curses_dl
false
end
end
ensure
$VERBOSE = verbose
end

module Reline::Terminfo
Expand Down