Skip to content
Snippets Groups Projects
Commit eda376d0 authored by Connor Atherton's avatar Connor Atherton Committed by GitHub
Browse files

Merge pull request #135 from adamleff/fix-bind-key-when-not-terminal

Fix NilClass error when stdin is not a terminal
parents 9c166e81 3e2f8510
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -7016,7 +7016,7 @@ module RbReadline
 
setting << " -ixoff"
 
rl_bind_key(@_rl_tty_chars.t_start, :rl_restart_output)
rl_bind_key(@_rl_tty_chars.t_start, :rl_restart_output) unless @_rl_tty_chars.t_start.nil?
@_rl_eof_char = @_rl_tty_chars.t_eof
 
#setting << " -isig"
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment