mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-09 11:26:41 +00:00
terminal: add strings table to page
This commit is contained in:
@@ -65,6 +65,9 @@ pub fn BitmapAllocator(comptime chunk_size: comptime_int) type {
|
||||
|
||||
/// Allocate n elements of type T. This will return error.OutOfMemory
|
||||
/// if there isn't enough space in the backing buffer.
|
||||
///
|
||||
/// Use (size.zig).getOffset to get the base offset from the backing
|
||||
/// memory for portable storage.
|
||||
pub fn alloc(
|
||||
self: *Self,
|
||||
comptime T: type,
|
||||
|
Reference in New Issue
Block a user