test(cli): adjust InputPrompt mouse tests for new padding

This commit is contained in:
Keith Guerin
2026-03-01 08:59:08 -08:00
parent acd24006b6
commit ac09d73c99
10 changed files with 78 additions and 104 deletions

View File

@@ -3340,28 +3340,28 @@ describe('InputPrompt', () => {
name: 'first line, first char',
relX: 0,
relY: 0,
mouseCol: 6,
mouseCol: 8,
mouseRow: 2,
},
{
name: 'first line, middle char',
relX: 6,
relY: 0,
mouseCol: 12,
mouseCol: 14,
mouseRow: 2,
},
{
name: 'second line, first char',
relX: 0,
relY: 1,
mouseCol: 6,
mouseCol: 8,
mouseRow: 3,
},
{
name: 'second line, end char',
relX: 5,
relY: 1,
mouseCol: 11,
mouseCol: 13,
mouseRow: 3,
},
])(