- Jul 29, 2017
-
-
Connor Atherton authored
Chore: Bump version to 0.5.5
-
Connor Atherton authored
-
Connor Atherton authored
Use Fiddle::Pointer instead of Ruby arrays for native calls
-
Connor Atherton authored
Force UTF-8 encoding of history entry strings
-
Connor Atherton authored
Fix NilClass error when stdin is not a terminal
-
Connor Atherton authored
reassign Readline constants
-
- Jul 09, 2017
-
-
zhigang.du authored
-
- Jul 04, 2017
-
-
Johnny Shields authored
-
Johnny Shields authored
Fixes 139
-
- May 27, 2017
-
-
Mark Somerville authored
An update to the terminfo entry for xterm-256color made between ncurses-6.0+20170128-1 and ncurses-6.0+20170429-1 on Arch highlights a problem with how terminal capabilities were being read and affects all users of rb-readline on Arch. The particular terminfo change was to alter the cr (carriage return) capability from: ^M to: \r The rb-readline code that parses the capabilities was mistakenly storing this capability as: \\r causing "\r" to be displayed when entering a line of input into an rb-readline program. While I am reasonably confident that this change is sound, I am concerned that there are other problems around the way terminal capabilities are parsed because this patch fixes only this specific case. Unfortunately, the `infocmp` line is a maze of regexes and escape characters and checking and reworking it requires more time than I have available just now. Fixes #138. Tested-by: Mark Somerville <mark@scottishclimbs.com> [Arch, MRI 2.4.1] Signed-off-by:
Mark Somerville <mark@scottishclimbs.com>
-
- Feb 24, 2017
-
-
Adam Leff authored
In some cases, such as when running tests under minitest, stdin can get remapped in such a way that shell-outs to commands like `stty -a` will report "stdin is not a terminal". This can cause the elements in @_rl_tty_chars to be nil. In #prepare_terminal_settings, rl_bind_key is called for function :rl_restart_output, but if @_rl_tty_chars.t_start is nil, StringScanner.new(seq) in rl_translate_keyseq will throw: ``` Error: no implicit conversion of nil into String ``` This appears to be the only case in the codebase where an unguarded call to rl_bind_key exists, so this change ensures that we do not try and map a nil key to :rl_restart_output. Signed-off-by:
Adam Leff <adam@leff.co>
-
- Feb 10, 2017
-
-
Connor Atherton authored
Use Integer instead of Fixnum.
-
Connor Atherton authored
-
- Feb 03, 2017
-
-
Joel Low authored
The normal Ruby arrays seem to cause a memory access violation when compiled with VC.
-
- Jan 12, 2017
-
-
Lars Kanis authored
Fixnum and Bignum are unified in Ruby-2.4 to Integer. Using Fixnum prints a warning at every start with ruby-2.4.
-
- Dec 28, 2016
-
- Dec 02, 2016
-
-
Connor Atherton authored
Fix already initialized constant warnings
-
Connor Atherton authored
Add partial support for escape sequences parsed from inputrc
-
- Nov 07, 2016
-
-
Chris authored
In order to remove warnings when using this gem, this commit adds a couple checks to ensure that the constants aren't already defined when we try to assign them values. This ensures they are set once and only once.
-
- Oct 12, 2016
-
-
Connor Atherton authored
Update and rename README.rdoc to README.md
-
Dorian authored
Add installation instructions
-
- Oct 19, 2015
-
-
Connor Atherton authored
rbreadline.rb update to use .write
-
- Oct 18, 2015
-
-
Ahmad Sherif authored
-
- Sep 07, 2015
-
-
willdeed authored
Changed line 6497 from .puts to .write
-
- Jun 03, 2015
-
- May 14, 2015
-
-
Connor Atherton authored
defaulting to zero when calling out-of-bounds indices on @vis_lbreaks
-
- Apr 02, 2015
-
-
Wesley Boynton authored
-
- Dec 31, 2014
-
-
Connor Atherton authored
-
Connor Atherton authored
-
Connor Atherton authored
-
Cameron Desautels authored
These are the original names of the commands in GNU Readline. Adding these aliases allows existing `.inputrc` files which reference these commands to work properly.
-
Connor Atherton authored
-
Cameron Desautels authored
-
- Dec 29, 2014
-
-
Connor Atherton authored
- Oct 17, 2014
-
-
Cameron Desautels authored
Makes Option-Delete (what Windows / Linux users would likely call "Alt-Backspace") work on OS X. Restores parity with GNU Readline.
-
- Apr 01, 2014
-
-
Luis Lavena authored
Fix bug when used with pry-remote(drb environment).
-
- Mar 31, 2014
-
-
yui-knk authored
See https://github.com/Mon-Ouie/pry-remote/issues/49 . When we translate Proc object with drb, proc is wrapped with DRbObject. In this case defined? proc.call is not delegated to proc self. But proc.respond_to? :call is delegated to proc self. So here it is better to check `proc.respond_to? :call`.
-