mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
55 lines
936 B
Text
55 lines
936 B
Text
|
GNU Readline Library<72><79><EFBFBD><EFBFBD><EFBFBD>Ѥ<EFBFBD><D1A4>뤿<EFBFBD><EBA4BF><EFBFBD>γ<EFBFBD>ĥ<EFBFBD>⥸<EFBFBD>塼<EFBFBD><E5A1BC><EFBFBD>Ǥ<EFBFBD><C7A4><EFBFBD>
|
|||
|
|
|||
|
require "readline"
|
|||
|
include Readline
|
|||
|
|
|||
|
line = readline("Prompt> ", TRUE)
|
|||
|
|
|||
|
<EFBFBD>Τ褦<EFBFBD>˻<EFBFBD><EFBFBD>Ѥ<EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
[Readline]
|
|||
|
|
|||
|
<<3C>⥸<EFBFBD>塼<EFBFBD><E5A1BC><EFBFBD>ؿ<EFBFBD>>
|
|||
|
|
|||
|
readline(prompt, add=nil)
|
|||
|
|
|||
|
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϥ<EFBFBD><CFA4>ɤ߹<C9A4><DFB9>ߤޤ<DFA4><DEA4><EFBFBD>
|
|||
|
add<64><64>TRUE<55>ξ<EFBFBD><CEBE>硢<EFBFBD>ҥ<EFBFBD><D2A5>ȥ<EFBFBD><C8A5><EFBFBD><EFBFBD>ɤ߹<C9A4><DFB9><EFBFBD><EFBFBD><EFBFBD>ʸ<EFBFBD><CAB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɲä<C9B2><C3A4>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
|
|||
|
<<3C><><EFBFBD>饹<EFBFBD><EFBFBD>å<EFBFBD>>
|
|||
|
|
|||
|
completion_proc = proc
|
|||
|
|
|||
|
<20>䴰<EFBFBD><E4B4B0><EFBFBD><EFBFBD>ư<EFBFBD><C6B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ꤹ<EFBFBD><EAA4B9>Proc<6F><63><EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><C8A4><EFBFBD><EFBFBD>ꤷ<EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
proc<6F>ϰ<EFBFBD><CFB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʸ<EFBFBD><CAB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ꡢ<EFBFBD><EAA1A2><EFBFBD><EFBFBD>ʸ<EFBFBD><CAB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤<EFBFBD><D6A4>褦<EFBFBD><E8A4A6>
|
|||
|
<20><><EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
completion_proc
|
|||
|
|
|||
|
<20>䴰<EFBFBD><E4B4B0><EFBFBD><EFBFBD>ư<EFBFBD><C6B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ꤹ<EFBFBD><EAA4B9>Proc<6F><63><EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><C8A4>֤<EFBFBD><D6A4>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
|
|||
|
completion_case_fold = case_fold
|
|||
|
|
|||
|
<20>䴰<EFBFBD><E4B4B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʸ<EFBFBD><CAB8><EFBFBD><EFBFBD>ʸ<EFBFBD><CAB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̤<EFBFBD><CCA4>ʤ<EFBFBD><CAA4><EFBFBD><EFBFBD>硢TRUE<55><45><EFBFBD><EFBFBD><EFBFBD>ꤷ<EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
|
|||
|
completion_case_fold
|
|||
|
|
|||
|
<20>䴰<EFBFBD><E4B4B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʸ<EFBFBD><CAB8><EFBFBD><EFBFBD>ʸ<EFBFBD><CAB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̤<EFBFBD><CCA4>ʤ<EFBFBD><CAA4><EFBFBD><EFBFBD>硢TRUE<55><45><EFBFBD>֤<EFBFBD><D6A4>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
|
|||
|
vi_editing_mode
|
|||
|
|
|||
|
VI<56>⡼<EFBFBD>ɤˤʤ<CBA4><CAA4>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
|
|||
|
emacs_editing_mode
|
|||
|
|
|||
|
Emacs<63>⡼<EFBFBD>ɤˤʤ<CBA4><CAA4>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
|
|||
|
<<3C><><EFBFBD>饹<EFBFBD><E9A5B9><EFBFBD><EFBFBD>>
|
|||
|
|
|||
|
HISTORY
|
|||
|
|
|||
|
<EFBFBD>ҥ<EFBFBD><EFBFBD>ȥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ф<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̤<EFBFBD><EFBFBD>ƹԤäƤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʊ<EFBFBD><EFBFBD><EFBFBD>褦<EFBFBD>˰<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>褦<EFBFBD>ˤʤäƤ<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
|
|||
|
|