tangled
alpha
login
or
join now
moth11.net
/
xcvr
2
fork
atom
frontend for xcvr appview
2
fork
atom
overview
issues
pulls
pipelines
hopefully this helps with bug
moth11.net
4 months ago
28fe7083
8fd01a01
+6
1 changed file
expand all
collapse all
unified
split
src
lib
wscontext.svelte.ts
+6
src/lib/wscontext.svelte.ts
···
541
541
}
542
542
543
543
const insertSIntoAStringAtIdx = (s: string, a: string, idx: number) => {
544
544
+
if (a === undefined) {
545
545
+
a = ""
546
546
+
}
544
547
if (idx > a.length) {
545
548
a = a.padEnd(idx)
546
549
}
···
548
551
}
549
552
550
553
const deleteFromAStringBetweenIdxs = (a: string, idx1: number, idx2: number) => {
554
554
+
if (a === undefined) {
555
555
+
a = ""
556
556
+
}
551
557
if (idx2 > a.length) {
552
558
a = a.padEnd(idx2)
553
559
}