forked from aniani/vim
patch 8.2.0803: libvterm code lags behind the upstream version
Problem: Libvterm code lags behind the upstream version. Solution: Include revisions 764 - 767
This commit is contained in:
@@ -150,6 +150,14 @@ PUSH "def"
|
||||
PUSH "ghi\e\\"
|
||||
osc "ghi"]
|
||||
|
||||
!OSC BEL without semicolon
|
||||
PUSH "\e]1234\x07"
|
||||
osc [1234 ]
|
||||
|
||||
!OSC ST without semicolon
|
||||
PUSH "\e]1234\e\\"
|
||||
osc [1234 ]
|
||||
|
||||
!Escape cancels OSC, starts Escape
|
||||
PUSH "\e]Something\e9"
|
||||
escape "9"
|
||||
|
||||
@@ -112,7 +112,7 @@ sub do_line
|
||||
$initial //= "";
|
||||
$initial .= ";" if $initial =~ m/\d+/;
|
||||
|
||||
$line = "$cmd $initial" . join( "", map sprintf("%02x", $_), unpack "C*", eval($data) ) . "$final";
|
||||
$line = "$cmd $initial" . join( "", map sprintf("%02x", $_), unpack "C*", length $data ? eval($data) : "" ) . "$final";
|
||||
}
|
||||
elsif( $line =~ m/^(escape|dcs) (\[?)(.*?)(\]?)$/ ) {
|
||||
$line = "$1 $2" . join( "", map sprintf("%02x", $_), unpack "C*", eval($3) ) . "$4";
|
||||
|
||||
Reference in New Issue
Block a user