diff options
| author | Can Celik <ogulcancelik@gmail.com> | 2026-09-10 21:51:57 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-10 21:51:57 +0300 |
| commit | 425c86179791cd32e2d4ce0ae7f269940b4b0663 (patch) | |
| tree | e52c4383a6d69216cbe2a32638bf90841d7e2189 /vendor/libghostty-vt/src/inspector/widgets/screen.zig | |
| parent | 90e947a6e26e02f10ec7f1694c4eb5b78a86406b (diff) | |
chore: upgrade libghostty and preserve terminal behavior (#3906)
Diffstat (limited to 'vendor/libghostty-vt/src/inspector/widgets/screen.zig')
| -rw-r--r-- | vendor/libghostty-vt/src/inspector/widgets/screen.zig | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/vendor/libghostty-vt/src/inspector/widgets/screen.zig b/vendor/libghostty-vt/src/inspector/widgets/screen.zig index 41c113e7..6e66a142 100644 --- a/vendor/libghostty-vt/src/inspector/widgets/screen.zig +++ b/vendor/libghostty-vt/src/inspector/widgets/screen.zig @@ -353,7 +353,12 @@ pub fn internalStateTable( _ = cimgui.c.ImGui_TableSetColumnIndex(0); cimgui.c.ImGui_Text("Memory Limit"); _ = cimgui.c.ImGui_TableSetColumnIndex(1); - cimgui.c.ImGui_Text("%d bytes (%d KiB)", pages.maxSize(), units.toKibiBytes(pages.maxSize())); + const max_bytes = pages.limits.max(.bytes); + cimgui.c.ImGui_Text( + "%d bytes (%d KiB)", + max_bytes, + units.toKibiBytes(max_bytes), + ); cimgui.c.ImGui_TableNextRow(); _ = cimgui.c.ImGui_TableSetColumnIndex(0); |
