mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Raise StopPaging when user quits pager
This commit is contained in:
parent
d0f198bd64
commit
702f0be0a3
1 changed files with 1 additions and 0 deletions
|
@ -140,6 +140,7 @@ class Pry::Pager
|
|||
end
|
||||
end
|
||||
rescue Errno::EPIPE
|
||||
raise StopPaging
|
||||
end
|
||||
|
||||
def close
|
||||
|
|
Loading…
Reference in a new issue