From ef1b773fd706c7ba11fd2446533c6f42ccc96057 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Breitbart?= Date: Thu, 1 Sep 2022 12:35:44 +0200 Subject: [PATCH] fix pixel to cell offsets --- bin/test_mousemodes.js | 53 ++++++++++++++-------------- src/browser/Terminal.ts | 10 +++--- src/browser/TestUtils.test.ts | 2 +- src/browser/services/MouseService.ts | 33 +++++++---------- src/browser/services/Services.ts | 2 +- 5 files changed, 47 insertions(+), 53 deletions(-) diff --git a/bin/test_mousemodes.js b/bin/test_mousemodes.js index b73cd455..0f12d208 100644 --- a/bin/test_mousemodes.js +++ b/bin/test_mousemodes.js @@ -4,7 +4,7 @@ * * Script to test different mouse modes in terminal emulators. * Tests for protocols DECSET 9, 1000, 1002, 1003 with different - * report encodings (default, UTF8, SGR, URXVT). + * report encodings (default, UTF8, SGR, URXVT, SGR-pixels). * * VT200 Highlight mode (DECSET 1001) is not implemented. * @@ -123,19 +123,19 @@ const ENC = { row: report[5] - 32 }) ], - // 'UTF8' : [ - // '\x1b[?1005h', - // // format: CSI M