Skip to content

Commit f792db3

Browse files
authored
feat: remove pager off (#879)
1 parent 7ad3189 commit f792db3

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Release tags are https://github.com/appium/ruby_lib/releases .
99
### 2. Bug fixes
1010

1111
### 3. Deprecations
12+
- Remove auto `Pry.config.pager` off
13+
- Please turn it off if you needed. https://github.com/pry/pry/wiki/Customization-and-configuration#Config_pager
1214

1315
## v10.5.0
1416
### 1. Enhancements

lib/appium_lib/driver.rb

-8
Original file line numberDiff line numberDiff line change
@@ -849,11 +849,3 @@ def x
849849
end
850850
end # class Driver
851851
end # module Appium
852-
853-
# Paging in Pry is annoying :q required to exit.
854-
# With pager disabled, the output is similar to IRB
855-
# Only set if Pry is defined and there is no `.pryrc` files.
856-
if defined?(Pry) && !(File.exist?(Pry::HOME_RC_FILE) || File.exist?(Pry::LOCAL_RC_FILE))
857-
Appium::Logger.debug 'Pry.config.pager = false is set.'
858-
Pry.config.pager = false
859-
end

0 commit comments

Comments
 (0)