mirror of
https://github.com/VibedByKaKi/t3-code-android-nightly.git
synced 2026-10-23 02:37:45 +02:00
10 lines
330 B
TypeScript
10 lines
330 B
TypeScript
import { assert, it } from "@effect/vitest"
|
|
import * as Ansi from "effect/cli/internal/ansi"
|
|
|
|
it("emits a standard CSI horizontal absolute sequence", () => {
|
|
assert.strictEqual(Ansi.cursorTo(0), "\x1b[1G")
|
|
})
|
|
|
|
it("emits a standard CSI cursor-position sequence", () => {
|
|
assert.strictEqual(Ansi.cursorTo(2, 3), "\x1b[4;3H")
|
|
})
|