cloudaxe-opencode/packages/opencode/test/cli/run
Simon Klee 8f05bbfaa6
prompt: fix cursor math for wide characters (#27017)
String.length counts code points, not display columns, so CJK
characters and emoji that occupy two terminal cells caused
misaligned cursors, broken mention triggers, and incorrect
history restoration offsets.

Use Bun.stringWidth for now, we need an alternative for this.

Fix #26716
Close #26922
2026-05-12 11:45:28 +02:00
..
entry.body.test.ts
footer.menu.test.ts
footer.view.test.tsx
permission.shared.test.ts
prompt.shared.test.ts prompt: fix cursor math for wide characters (#27017) 2026-05-12 11:45:28 +02:00
question.shared.test.ts
runtime.boot.test.ts flatten to keybind compatible config (#26421) 2026-05-09 01:29:13 +02:00
runtime.queue.test.ts
runtime.stdin.test.ts
scrollback.surface.test.ts
session-data.test.ts
session.shared.test.ts
stream.test.ts
stream.transport.test.ts chore: generate 2026-05-08 17:46:57 +00:00
subagent-data.test.ts cli/run: switch to global event stream (#26383) 2026-05-08 19:44:31 +02:00
theme.test.ts
variant.shared.test.ts