fix: cap sendInputEvent text length at n-1 (#27827)
fix: cap sendInputEvent text length at n-1 (#27827)


gerhardberger/electron,gerhardberger/electron,bpasero/electron,bpasero/electron,bpasero/electron,electron/electron,gerhardberger/electron,gerhardberger/electron,bpasero/electron,gerhardberger/electron,bpasero/electron,electron/electron,bpasero/electron,electron/electron,bpasero/electron,electron/electron,electron/electron,gerhardberger/electron,electron/electron,electron/electron,gerhardberger/electron