aycabta
53c05a6cf4
Remove freeze
2019-10-18 02:54:20 +09:00
Nobuyoshi Nakada
ae83dbe28d
Get rid of IO.select
to fix multiline paste
2019-09-26 00:26:33 +09:00
aycabta
b443bdbdb9
Use short wait for select(2)
...
It is one of the reasons why paste to IRB is slow.
2019-09-23 17:33:25 +09:00
aycabta
934507472c
Retrieve key-buffer that was supposed to lose
2019-09-23 17:27:01 +09:00
Nobuyoshi Nakada
68ffb679d4
Undefine DSUSP key
...
Enable `Ctrl+Y`, which is bound with it by default on BSD-like
systems, for editing.
2019-09-17 15:16:12 +09:00
aycabta
83ef23bd75
Revert "Use IO#getch to read one char in raw mode"
...
This reverts commit 805b0a4811
.
2019-09-14 00:11:01 +09:00
aycabta
e8fff0ec9c
Revert "Use IO#getbyte"
...
This reverts commit 685f12bbca
.
2019-09-14 00:10:45 +09:00
aycabta
06bbacc086
Revert "Support multibyte input"
...
This reverts commit 6d9e54816f
.
2019-09-14 00:10:34 +09:00
Nobuyoshi Nakada
6d9e54816f
Support multibyte input
2019-09-10 00:56:31 +09:00
Nobuyoshi Nakada
685f12bbca
Use IO#getbyte
2019-09-10 00:56:31 +09:00
Nobuyoshi Nakada
805b0a4811
Use IO#getch to read one char in raw mode
2019-09-10 00:56:31 +09:00
aycabta
0f405541bf
Support SIGWINCH
2019-08-29 14:37:19 +09:00
Nobuyoshi Nakada
fc7b4c7018
Simplify matching
2019-06-04 00:33:56 +09:00
aycabta
7df65ef676
Use inputrc data for keystroke setting
2019-06-01 09:06:27 +09:00
Nobuyoshi Nakada
552c42f51f
Seprate raw keystroke config for each platforms
2019-06-01 00:41:17 +09:00
aycabta
eb4e774711
Support Meta key in Reline
2019-05-24 23:38:40 +09:00
aycabta
16917cc3cb
Add Reline.test_mode to use with special I/O
2019-05-18 12:48:27 +09:00
aycabta
b5a3ec7f18
Remove useless use of a variable in Reline::ANSI
2019-05-14 17:15:49 +09:00
aycabta
9cb821b024
Implement Reline.input= and Reline.output=
2019-05-13 02:14:48 +09:00
aycabta
0f45bd0584
Split namespace of env-dependent I/O classes
2019-05-13 00:22:27 +09:00
aycabta
17350c7e55
Add Reline as a fallback library for Readline
...
* lib/reine.rb, lib/reline/*: Reline is a readline stdlib compatible
library.
* lib/readline.rb: Readline uses a fallback to Reline when ext/readline
doesn't exist.
* tool/sync_default_gems.rb: add ruby/reline as a default gem.
* appveyor.yml: add "set RELINE_TEST_ENCODING=Windows-31J" for test suit
of Reline, and add "--exclude readline" to "nmake test-all" on Visual
Studio builds because of strange behavior.
* spec/ruby/library/readline/spec_helper.rb: skip Reline as with
RbReadline.
2019-04-30 11:44:20 +09:00
Nobuyoshi Nakada
f4f66bd11c
Revert "IRB is improved with Reline and RDoc, take 2"
...
Accidentally merged when 89271d4a37
"Adjusted indents".
2019-04-23 21:55:29 +09:00
aycabta
f2cd4f4cd0
IRB is improved with Reline and RDoc, take 2
2019-04-23 20:08:02 +09:00
aycabta
51cec00953
Revert "IRB is improved with Reline and RDoc"
...
This reverts commit 7f273ac6d0
.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-21 09:13:49 +00:00
aycabta
7f273ac6d0
IRB is improved with Reline and RDoc
...
Reline is a readline stdlib compatible library. It also supports
multiline input. IRB is improved with Reline and supports multiline.
Besides, supports showing documents when completed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-20 08:51:20 +00:00