this repo has no description
13
fork

Configure Feed

Select the types of activity you want to include in your feed.

widgets(text_input): add realLength fn

Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>

+5
+5
src/widgets/TextInput.zig
··· 418 418 @memcpy(buf[0..first_half.len], first_half); 419 419 @memcpy(buf[first_half.len..], second_half); 420 420 self.clearAndFree(); 421 + return buf; 422 + } 423 + 424 + pub fn realLength(self: *const Buffer) usize { 425 + return self.firstHalf().len + self.secondHalf().len; 421 426 } 422 427 }; 423 428