aboutsummaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2019-12-14 15:46:42 +0900
committeraycabta <aycabta@gmail.com>2019-12-22 01:57:35 +0900
commitec1de789a98923417cf983cb3cdaed003c0f8be6 (patch)
tree80d55c9b385c3743b7b4566483f3b658ab98347b /util.c
parent7fd6077d9896cc10244fb9416ef87ae461c079db (diff)
downloadruby-ec1de789a98923417cf983cb3cdaed003c0f8be6.tar.gz
[ruby/reline] Preserve the input buffer across cursor_pos
The old version of cursor_pos discards the input buffer, which made IRB ignore the input immediately after IRB is invoked. This change keeps the input before cursor_pos by using ungetc. https://github.com/ruby/reline/commit/4a8cca331f
Diffstat (limited to 'util.c')
0 files changed, 0 insertions, 0 deletions