fix(element/scrollable): display and user interaction

Fix initial render to show scrollbar immediately if required. Show and
hide scrollbar correctly when content size or terminal size changes. Add
keybindings for scrolling similar to pager keybindings.
This commit is contained in:
2025-11-02 16:05:53 +01:00
parent b3dc8096d7
commit d4cc520826
2 changed files with 78 additions and 7 deletions

View File

@@ -33,8 +33,6 @@ const zterm: *Dependency = b.dependency("zterm", .{
.target = target,
.optimize = optimize,
});
// ...
exe.root_module.addImport("zterm", zterm.module("zterm"));
```
### Documentation