mirror of
https://github.com/fairyglade/ly.git
synced 2025-12-21 19:55:00 +00:00
Remove maximum length config options + don't localize config parse error
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
@@ -22,8 +22,8 @@ y: usize,
|
||||
masked: bool,
|
||||
maybe_mask: ?u8,
|
||||
|
||||
pub fn init(allocator: Allocator, buffer: *TerminalBuffer, max_length: usize, masked: bool, maybe_mask: ?u8) !Text {
|
||||
const text = try DynamicString.initCapacity(allocator, max_length);
|
||||
pub fn init(allocator: Allocator, buffer: *TerminalBuffer, masked: bool, maybe_mask: ?u8) Text {
|
||||
const text = DynamicString.init(allocator);
|
||||
|
||||
return .{
|
||||
.allocator = allocator,
|
||||
|
||||
Reference in New Issue
Block a user