Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
st0012 committed May 29, 2024
1 parent a3e793c commit b9f9bbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/reline/io/dumb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
class Reline::Dumb < Reline::IO
RESET_COLOR = '' # Do not send color reset sequence

def initialize(encoding: Encoding.default_external)
def initialize(encoding: nil)
@input = STDIN
@buf = []
@pasting = false
@encoding = encoding
@encoding = encoding || Encoding.default_external
@screen_size = [24, 80]
end

Expand Down

0 comments on commit b9f9bbe

Please sign in to comment.