don't put non-repl lines into history
This commit is contained in:
parent
c2c6a30814
commit
cddadcb95f
|
@ -326,7 +326,7 @@ class Pry
|
|||
end
|
||||
end
|
||||
|
||||
Pry.history << val.dup
|
||||
Pry.history << val.dup if input == Readline
|
||||
val
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue