mod: adjust layout and style of widgets and header links

This commit is contained in:
2024-10-19 16:11:08 +02:00
parent 49caf89287
commit 03a4b571d3
2 changed files with 21 additions and 4 deletions

View File

@@ -66,6 +66,10 @@ fn fillView(this: *@This()) void {
const cell: vaxis.Cell = .{
.link = .{ .uri = "https://github.com/yves-biener" },
.char = .{ .grapheme = "github" },
.style = .{
.fg = .{ .index = 3 },
.ul_style = .single,
},
};
this.view.?.writeCell(this.view.?.screen.width - 9, 0, cell);
}
@@ -74,6 +78,10 @@ fn fillView(this: *@This()) void {
const cell: vaxis.Cell = .{
.link = .{ .uri = "mailto:yves.biener@gmx.de" },
.char = .{ .grapheme = "mail" },
.style = .{
.fg = .{ .index = 3 },
.ul_style = .single,
},
};
this.view.?.writeCell(this.view.?.screen.width - 16, 0, cell);
}