using new cli parser

This commit is contained in:
ValKmjolnir
2024-06-02 00:33:21 +08:00
parent 435120067f
commit f2d6fec48b
5 changed files with 83 additions and 68 deletions
+7
View File
@@ -1,3 +1,7 @@
use std.runtime;
runtime.windows.set_utf8_output();
var table_character_set = [
"─", "━", "│", "┃", "╌", "╍", "╎", "╏", "┄", "┅",
"┆", "┇", "┈", "┉", "┊", "┋", "┌", "┍", "┎", "┏",
@@ -83,6 +87,9 @@ var choice = func(above_block_char,
append(possible, bcs);
}
}
if (!size(possible)) {
return " ";
}
func() {
if (vecindex(possible, " ")!=nil) {