Skip to content

scrollToBottom

Scrolls the list to the bottom.

Example

ts
import { List } from "@monstermann/signals-tui";

const list = List.create({ lines: items, renderLine });

List.scrollToBottom(list); // Scroll to end