https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17097754782018-03-19T21:02:22ZRuby Issue Tracking SystemRuby master - Feature #14618: Add display width method to String for CLIhttps://redmine.ruby-lang.org/issues/14618?journal_id=711022018-03-19T21:02:22ZAnonymous
<ul></ul><p>Dne 19.3.2018 v 20:00 <a href="mailto:aycabta@gmail.com" class="email">aycabta@gmail.com</a> napsal(a):</p>
<blockquote>
<a name="Use-case"></a>
<h2 >Use-case<a href="#Use-case" class="wiki-anchor">¶</a></h2>
<p>I'm developing Readline compatible library by pure Ruby implementation for Ruby core.<br>
<a href="https://github.com/aycabta/reline" class="external">https://github.com/aycabta/reline</a></p>
<p>I'm discussing it with <a class="user active user-mention" href="https://redmine.ruby-lang.org/users/572">@hsbt (Hiroshi SHIBATA)</a>, and I think that the pure Ruby version should be used only when the native extension version doesn't exist.<br>
ref. <a href="https://bugs.ruby-lang.org/issues/11084" class="external">https://bugs.ruby-lang.org/issues/11084</a><br>
The Readline library is very important for that IRB <em>always</em> provides Readline's features.</p>
</blockquote>
<p>Just out of curiosity, why are you reimplementing readline in pure Ruby<br>
if there exists rb-readline [1], used by Ruby Installer.</p>
<p>Vít</p>
<p>[1] <a href="https://github.com/ConnorAtherton/rb-readline" class="external">https://github.com/ConnorAtherton/rb-readline</a></p> Ruby master - Feature #14618: Add display width method to String for CLIhttps://redmine.ruby-lang.org/issues/14618?journal_id=711042018-03-19T23:55:10Zshevegen (Robert A. Heiler)shevegen@gmail.com
<ul></ul><p>Martin Dürst is doing some unicode stuff; perhaps he can chime in<br>
when he has some time.</p> Ruby master - Feature #14618: Add display width method to String for CLIhttps://redmine.ruby-lang.org/issues/14618?journal_id=711322018-03-21T04:00:39Zaycabta (aycabta .)aycabta@gmail.com
<ul></ul><p>My e-mail to the mailing list [ruby-core] is not synced with Redmine.<br>
<a href="http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/86213" class="external">http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/86213</a></p> Ruby master - Feature #14618: Add display width method to String for CLIhttps://redmine.ruby-lang.org/issues/14618?journal_id=714272018-04-09T07:28:22Zduerst (Martin Dürst)duerst@it.aoyama.ac.jp
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-1 priority-4 priority-default" href="/issues/13241">Feature #13241</a>: Method(s) to access Unicode properties for characters/strings</i> added</li></ul> Ruby master - Feature #14618: Add display width method to String for CLIhttps://redmine.ruby-lang.org/issues/14618?journal_id=796732019-07-16T03:55:41Zshyouhei (Shyouhei Urabe)shyouhei@ruby-lang.org
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-2 status-6 priority-4 priority-default closed" href="/issues/16006">Feature #16006</a>: String count and alignment that consider multibyte characters</i> added</li></ul>