don't put non-repl lines into history

This commit is contained in:
Ryan Fitzgerald 2011-10-15 22:37:10 -07:00
parent c2c6a30814
commit cddadcb95f
1 changed files with 1 additions and 1 deletions

View File

@ -326,7 +326,7 @@ class Pry
end
end
Pry.history << val.dup
Pry.history << val.dup if input == Readline
val
end
end