るりまサーチ (Ruby 2.6.0)

最速Rubyリファレンスマニュアル検索!
2件ヒット [1-2件を表示] (0.036秒)
トップページ > バージョン:2.6.0[x] > クエリ:io[x] > クエリ:console_size[x]

別のキーワード

  1. io/console winsize
  2. io/console raw
  3. io/console raw!
  4. io/console console
  5. io/console winsize=

ライブラリ

クラス

検索結果

IO.console_size -> [Integer, Integer] (81394.0)

端末のサイズを [rows, columns] で返します。

端末のサイズを [rows, columns] で返します。

io/console が利用できない場合は、IO.default_console_size
の値を返します。

@see IO.default_console_size

IO.default_console_size -> [Integer, Integer] (45304.0)

デフォルトの端末のサイズを [rows, columns] で返します。

デフォルトの端末のサイズを [rows, columns] で返します。