mirror of
https://github.com/fairyglade/ly.git
synced 2025-12-21 11:44:55 +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:
@@ -18,9 +18,9 @@ const Message = struct {
|
||||
|
||||
label: MessageLabel,
|
||||
|
||||
pub fn init(allocator: Allocator, buffer: *TerminalBuffer, max_length: usize) !InfoLine {
|
||||
pub fn init(allocator: Allocator, buffer: *TerminalBuffer) InfoLine {
|
||||
return .{
|
||||
.label = try MessageLabel.init(allocator, buffer, max_length, drawItem),
|
||||
.label = MessageLabel.init(allocator, buffer, drawItem),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user