Skip to content

Commit

Permalink
term: work around leaked "DA2R" in screen from outside terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed May 20, 2021
1 parent 3a2d0fe commit 4d77fab
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/util.sh
Expand Up @@ -3084,7 +3084,11 @@ function ble/term/bracketed-paste-mode/leave {
_ble_term_DA1R=
_ble_term_DA2R=
function ble/term/DA1/notify { _ble_term_DA1R=$1; }
function ble/term/DA2/notify { _ble_term_DA2R=$1; }
function ble/term/DA2/notify {
if [[ ! $_ble_term_DA2R ]]; then
_ble_term_DA2R=$1
fi
}

#---- DSR(6) ------------------------------------------------------------------
# CPR (CURSOR POSITION REPORT)
Expand Down

0 comments on commit 4d77fab

Please sign in to comment.