Raise StopPaging when user quits pager

This commit is contained in:
Ryan Fitzgerald 2013-11-02 15:54:21 -07:00
parent d0f198bd64
commit 702f0be0a3
1 changed files with 1 additions and 0 deletions

View File

@ -140,6 +140,7 @@ class Pry::Pager
end end
end end
rescue Errno::EPIPE rescue Errno::EPIPE
raise StopPaging
end end
def close def close