Elektrine lite

← Feed

@bearmine@gamepad.club

2026-08-29 19:34 UTC

This honestly makes for some pretty clean code: ```python import time from raricode.utils.ctrl_seq import * def test(): for n in range(22): print(f"line{n}") time.sleep(1) print(f"{CPL(5)}{ED}") ```

Replies (1)

  • @bearmine@gamepad.club 2026-08-29 19:46

    Idk how readable CPL(2), ED, etc really is, but it's a hell of a lot more readable than '\033[2F' and '\033[J'.

    Open ##4569139