Mercurial > vim
diff src/libvterm/t/02parser.test @ 26270:f93337ae0612 v8.2.3666
patch 8.2.3666: libvterm is outdated
Commit: https://github.com/vim/vim/commit/7da341560ec8db7e81cd80092b046b60a482fbbe
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Nov 24 19:30:55 2021 +0000
patch 8.2.3666: libvterm is outdated
Problem: Libvterm is outdated.
Solution: Include patches from revision 769 to revision 789.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 24 Nov 2021 20:45:04 +0100 |
parents | 55a373a243c0 |
children |
line wrap: on
line diff
--- a/src/libvterm/t/02parser.test +++ b/src/libvterm/t/02parser.test @@ -17,15 +17,15 @@ PUSH "\x1f" PUSH "\x83" control 0x83 -PUSH "\x9f" - control 0x9f +PUSH "\x99" + control 0x99 !C1 7bit PUSH "\e\x43" control 0x83 -PUSH "\e\x5f" - control 0x9f +PUSH "\e\x59" + control 0x99 !High bytes PUSH "\xa0\xcc\xfe" @@ -184,6 +184,12 @@ PUSH "\ePHello\e\\" PUSH "\x{90}Hello\x9c" dcs ["Hello"] +!Split write of 7bit ST +PUSH "\ePABC\e" + dcs ["ABC" +PUSH "\\" + dcs ] + !Escape cancels DCS, starts Escape PUSH "\ePSomething\e9" escape "9" @@ -198,6 +204,48 @@ PUSH "\ePBy\ne\x07" control 10 dcs "e"] +!APC BEL +PUSH "\e_Hello\x07" + apc ["Hello"] + +!APC ST (7bit) +PUSH "\e_Hello\e\\" + apc ["Hello"] + +!APC ST (8bit) +PUSH "\x{9f}Hello\x9c" + apc ["Hello"] + +!PM BEL +PUSH "\e^Hello\x07" + pm ["Hello"] + +!PM ST (7bit) +PUSH "\e^Hello\e\\" + pm ["Hello"] + +!PM ST (8bit) +PUSH "\x{9e}Hello\x9c" + pm ["Hello"] + +!SOS BEL +PUSH "\eXHello\x07" + sos ["Hello"] + +!SOS ST (7bit) +PUSH "\eXHello\e\\" + sos ["Hello"] + +!SOS ST (8bit) +PUSH "\x{98}Hello\x9c" + sos ["Hello"] + +!SOS can contain any C0 or C1 code +PUSH "\eXABC\x01DEF\e\\" + sos ["ABC\x01DEF"] +PUSH "\eXABC\x99DEF\e\\" + sos ["ABC\x{99}DEF"] + !NUL ignored PUSH "\x{00}"