changeset 670:1d8596cf49bc

[inputrc] Workaround for ruby reline ctrl-u bug
author nanaya <me@nanaya.pro>
date Mon, 17 Jan 2022 01:15:05 +0900
parents d40ab65fd460
children 7423d2c773e4
files rc/inputrc
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/rc/inputrc	Sat Dec 11 19:04:08 2021 +0900
+++ b/rc/inputrc	Mon Jan 17 01:15:05 2022 +0900
@@ -25,6 +25,9 @@
 "\e\e[C": forward-word
 
 $if Ruby
+# Eventually remove this bug workaround
+# Reference: https://github.com/ruby/reline/pull/416/files
+"\C-u": unix-line-discard
 $else
 #Up/Down
 "\e[A": history-search-backward