Skip to content

Commit

Permalink
canvas: update prompt trace on "char_width_mode" change
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Jul 28, 2022
1 parent b992bb5 commit 56b77a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ble-edit.sh
Expand Up @@ -1307,7 +1307,7 @@ function ble-edit/prompt/update {
local ps1esc
ble-edit/draw/sflush -v ps1esc
builtin eval "ps1esc=\"$ps1esc\""
local trace_hash=$COLUMNS:$ps1esc
local trace_hash=$LINES,$COLUMNS:$bleopt_char_width_mode:$ps1esc
if [[ $trace_hash == "${_ble_edit_prompt[7]}" ]]; then
# 前回と同じ ps1esc の場合は計測処理は省略
_ble_edit_prompt[0]=$version
Expand Down

0 comments on commit 56b77a8

Please sign in to comment.