mirror of
https://github.com/fairyglade/ly.git
synced 2025-12-21 03:34:54 +00:00
Support multiple info lines in UI
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
@@ -143,7 +143,7 @@ pub fn crawl(self: *Session, path: []const u8, display_server: DisplayServer) !v
|
||||
}
|
||||
}
|
||||
|
||||
fn drawItem(label: EnvironmentLabel, environment: Environment, x: usize, y: usize) bool {
|
||||
fn drawItem(label: *EnvironmentLabel, environment: Environment, x: usize, y: usize) bool {
|
||||
const length = @min(environment.name.len, label.visible_length - 3);
|
||||
if (length == 0) return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user