⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
Download (271 Bytes)
Bug #17629
» bug.rb
radarek (Radosław Bułat)
, 02/14/2021 01:28 PM
require
'readline'
# calling below code before adding item to history will make it work
Readline
.
readline
(
'press enter to continue'
,
false
)
if
ENV
[
'WORKAROUND'
]
==
'1'
Readline
::
HISTORY
<<
'Line1'
puts
"History:
#{
Readline
::
HISTORY
.
to_a
}
"
Readline
.
readline
(
'> '
,
true
)
« Previous
1
2
Next »
(1-1/2)
Loading...