Skip to content

Commit

Permalink
main: hotfix d35682a
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Jul 15, 2019
1 parent dc1721f commit c2a268a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion ble.pp
Expand Up @@ -719,7 +719,9 @@ function ble/base/process-blesh-arguments {
(attach) ble-attach ;;
(prompt) _ble_base_attach_PROMPT_COMMAND=$PROMPT_COMMAND
_ble_base_attach_from_prompt=1
PROMPT_COMMAND=ble/base/attach-from-PROMPT_COMMAND ;;
PROMPT_COMMAND=ble/base/attach-from-PROMPT_COMMAND
[[ $_ble_edit_detach_flag == reload ]] &&
_ble_edit_detach_flag= ;;
esac
[[ ! $opt_error ]]
}
Expand Down
2 changes: 1 addition & 1 deletion src/edit.sh
Expand Up @@ -7082,7 +7082,7 @@ function ble-edit/bind/.exit-TRAPRTMAX {
##
function ble-edit/bind/.check-detach {
# Note: #D1130 reload の為に detach して attach しなかった場合
if [[ $_ble_edit_detach_flag == reload ]]; then
if [[ ! $_ble_attached && $_ble_edit_detach_flag == reload ]]; then
ble-detach/message \
"${_ble_term_setaf[12]}[ble: detached]$_ble_term_sgr0" \
"Please run \`stty sane' to recover the correct TTY state."
Expand Down

0 comments on commit c2a268a

Please sign in to comment.