frontend for xcvr appview

hopefully this helps with bug

+6
+6
src/lib/wscontext.svelte.ts
··· 541 } 542 543 const insertSIntoAStringAtIdx = (s: string, a: string, idx: number) => { 544 if (idx > a.length) { 545 a = a.padEnd(idx) 546 } ··· 548 } 549 550 const deleteFromAStringBetweenIdxs = (a: string, idx1: number, idx2: number) => { 551 if (idx2 > a.length) { 552 a = a.padEnd(idx2) 553 }
··· 541 } 542 543 const insertSIntoAStringAtIdx = (s: string, a: string, idx: number) => { 544 + if (a === undefined) { 545 + a = "" 546 + } 547 if (idx > a.length) { 548 a = a.padEnd(idx) 549 } ··· 551 } 552 553 const deleteFromAStringBetweenIdxs = (a: string, idx1: number, idx2: number) => { 554 + if (a === undefined) { 555 + a = "" 556 + } 557 if (idx2 > a.length) { 558 a = a.padEnd(idx2) 559 }