Skip to content

Commit

Permalink
decode: fix "bind" emulation in .bashrc (v0.3)
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Jul 4, 2021
1 parent 823eb83 commit 742777e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/decode.sh
Expand Up @@ -2503,6 +2503,8 @@ function ble/builtin/bind/.decode-chars.hook {
## 文字コードの列からキーの列へ変換します。
## @arr[out] keys
function ble/builtin/bind/.decode-chars {
ble-decode-bind/cmap/initialize

# initialize
local _ble_decode_csi_mode=0
local _ble_decode_csi_args=
Expand All @@ -2518,6 +2520,11 @@ function ble/builtin/bind/.decode-chars {
#%end
local _ble_decode_keylog_enabled=

# suppress errors
local bleopt_decode_error_cseq_abell=
local bleopt_decode_error_cseq_vbell=
local bleopt_decode_error_cseq_discard=

# setup hook and run
local -a ble_decode_bind_keys=()
local _ble_decode_key__hook=ble/builtin/bind/.decode-chars.hook
Expand Down

0 comments on commit 742777e

Please sign in to comment.