[前][次][番号順一覧][スレッド一覧]

ruby-changes:70089

From: Yusuke <ko1@a...>
Date: Tue, 7 Dec 2021 12:08:33 +0900 (JST)
Subject: [ruby-changes:70089] dfd9728c87 (master): NEWS.md: Describe the change of the default width of `pp`

https://git.ruby-lang.org/ruby.git/commit/?id=dfd9728c87

From dfd9728c87640d9699b1e7c63a6fefb6b2797fbc Mon Sep 17 00:00:00 2001
From: Yusuke Endoh <mame@r...>
Date: Tue, 7 Dec 2021 12:07:28 +0900
Subject: NEWS.md: Describe the change of the default width of `pp`

[Feature #12913]
---
 NEWS.md | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/NEWS.md b/NEWS.md
index 55f8dce9d9a..c0bd3b49004 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -356,6 +356,10 @@ Excluding feature bug fixes. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L356
 
 * `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]]
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]