[#86520] [Ruby trunk Bug#14681] `syswrite': stream closed in another thread (IOError) — samuel@...
Issue #14681 has been reported by ioquatix (Samuel Williams).
3 messages
2018/04/12
[#86755] [Ruby trunk Feature#14723] [WIP] sleepy GC — normalperson@...
Issue #14723 has been reported by normalperson (Eric Wong).
6 messages
2018/04/29
[ruby-core:86496] [Ruby trunk Bug#14676] On Windows Readline's input is not correctly filled after autocomplete
From:
wolf@...
Date:
2018-04-10 22:46:14 UTC
List:
ruby-core #86496
Issue #14676 has been updated by graywolf (Gray Wolf).
Works when the string is actual prefix for the completion.
```
require 'readline'
Readline.completion_proc = Proc.new do |word|
['aafoo', 'aabar']
end
while buf = Readline.readline('> ')
pp buf
end
```
produces
```
> aa<TAB>
aabar aafoo
> aa<ENTER>
"aa"
```
However, it would still be nice to have it behave same way on linux and windows.
----------------------------------------
Bug #14676: On Windows Readline's input is not correctly filled after autocomplete
https://bugs.ruby-lang.org/issues/14676#change-71439
* Author: graywolf (Gray Wolf)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: ruby 2.5.1p57 (2018-03-29 revision 63029) [x64-mingw32]
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
When Readline.completion_proc returns more than one match, you are presented with empty line insted of what you have already put in.
```
require 'readline'
Readline.completion_proc = Proc.new do |word|
['foo', 'bar']
end
while buf = Readline.readline('> ')
pp buf
end
```
You will end up with
```
> aa<TAB>
bar foo
> <ENTER>
""
```
Works as expected on linux.
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>