Raise StopPaging when user quits pager
This commit is contained in:
parent
d0f198bd64
commit
702f0be0a3
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue