diff options
author | aycabta <aycabta@gmail.com> | 2019-09-08 03:26:09 +0900 |
---|---|---|
committer | aycabta <aycabta@gmail.com> | 2019-09-08 03:26:35 +0900 |
commit | e9bc8b35c6c860e227627e3b0aab86b4f51c59af (patch) | |
tree | bf183269e2ae7baecbe5d62a2507c70a6511cd3d /lib/reline/line_editor.rb | |
parent | 46bfe907f1d61217215bcd1a7da9dff258c63294 (diff) |
Behave ESC key correctly when vi command mode
Diffstat (limited to 'lib/reline/line_editor.rb')
-rw-r--r-- | lib/reline/line_editor.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb index 597a39107b..2e964cb74a 100644 --- a/lib/reline/line_editor.rb +++ b/lib/reline/line_editor.rb @@ -1049,6 +1049,8 @@ class Reline::LineEditor end end + private def ed_unassigned(key) end # do nothing + private def ed_insert(key) if key.instance_of?(String) width = Reline::Unicode.get_mbchar_width(key) |