summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2021-12-07 12:07:28 +0900
committerYusuke Endoh <mame@ruby-lang.org>2021-12-07 12:07:28 +0900
commitdfd9728c87640d9699b1e7c63a6fefb6b2797fbc (patch)
treea4c1913dd1bfa6f410179f6e525e03c9ae7b61c0
parent794b9a28b562121426b3b1a19d2e465616af3ac0 (diff)
NEWS.md: Describe the change of the default width of `pp`
[Feature #12913]
-rw-r--r--NEWS.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/NEWS.md b/NEWS.md
index 55f8dce9d9..c0bd3b4900 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -356,6 +356,10 @@ Excluding feature bug fixes.
* `lib/debug.rb` is replaced with `debug.gem`
+* `Kernel#pp` in `lib/pp.rb` uses the width of `IO#winsize` by default.
+ This means that the output width is automatically changed depending on
+ your terminal size. [[Feature #12913]]
+
## C API updates
* Documented. [[GH-4815]]