From 0e823004e6199eb415709672204c3dbdd07e1db6 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Wed, 27 May 2026 03:59:42 +0000 Subject: [PATCH] Use single-line JSDoc comments per handler in Types.ts Document multi-variant escape handlers with separate /** ... */ lines instead of multiline blocks. Co-authored-by: Daniel Imms --- src/common/Types.ts | 44 ++++++++++++++++++++------------------------ 1 file changed, 20 insertions(+), 24 deletions(-) diff --git a/src/common/Types.ts b/src/common/Types.ts index 1981a910f..744446af2 100644 --- a/src/common/Types.ts +++ b/src/common/Types.ts @@ -528,10 +528,9 @@ export interface IInputHandler { /** CSI ' } */ insertColumns(params: IParams): boolean; /** CSI ' ~ */ deleteColumns(params: IParams): boolean; - /** - * OSC 0 - * OSC 2 - */ setTitle(data: string): boolean; + /** OSC 0 */ + /** OSC 2 */ + setTitle(data: string): boolean; /** OSC 4 */ setOrReportIndexedColor(data: string): boolean; /** OSC 10 */ setOrReportFgColor(data: string): boolean; /** OSC 11 */ setOrReportBgColor(data: string): boolean; @@ -544,30 +543,27 @@ export interface IInputHandler { /** ESC E */ nextLine(): boolean; /** ESC = */ keypadApplicationMode(): boolean; /** ESC > */ keypadNumericMode(): boolean; - /** - * ESC % G - * ESC % @ - */ selectDefaultCharset(): boolean; - /** - * ESC ( C - * ESC ) C - * ESC * C - * ESC + C - * ESC - C - * ESC . C - * ESC / C - */ selectCharset(collectAndFlag: string): boolean; + /** ESC % G */ + /** ESC % @ */ + selectDefaultCharset(): boolean; + /** ESC ( C */ + /** ESC ) C */ + /** ESC * C */ + /** ESC + C */ + /** ESC - C */ + /** ESC . C */ + /** ESC / C */ + selectCharset(collectAndFlag: string): boolean; /** ESC D */ index(): boolean; /** ESC H */ tabSet(): boolean; /** ESC M */ reverseIndex(): boolean; /** ESC c */ fullReset(): boolean; - /** - * ESC n - * ESC o - * ESC | - * ESC } - * ESC ~ - */ setgLevel(level: number): boolean; + /** ESC n */ + /** ESC o */ + /** ESC | */ + /** ESC } */ + /** ESC ~ */ + setgLevel(level: number): boolean; /** ESC # 8 */ screenAlignmentPattern(): boolean; }