mod: adjust layout and style of widgets and header links
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user