mirror of
https://github.com/RGBCube/ZTerm
synced 2025-07-29 08:57:46 +00:00
Add charsets and fix off-by-one error
This commit is contained in:
parent
8716c68f55
commit
7ef370f96e
3 changed files with 11 additions and 4 deletions
|
@ -16,7 +16,7 @@ const zterm = @import("zterm");
|
|||
|
||||
pub fn main() !void {
|
||||
var sp = zterm.Spinner{
|
||||
.charset = &[_][]const u8{ "⣾", "⣽", "⣻", "⢿", "⡿", "⣟", "⣯", "⣷" },
|
||||
.charset = zterm.Spinner.charsets[3],
|
||||
.message = "Selling all your data to the CCP...",
|
||||
};
|
||||
try sp.start();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue