From 5da40c641626a3f36e44e760ad6dd8aba1b35119 Mon Sep 17 00:00:00 2001 From: Lumen Keyes Date: Sun, 14 Jul 2024 23:44:32 -0600 Subject: [PATCH] added todos --- src/print.zig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/print.zig b/src/print.zig index cb0eb16..55d1a11 100644 --- a/src/print.zig +++ b/src/print.zig @@ -1,6 +1,6 @@ -//TODO: re-implement sorting +//TODO: program is adding way more spacing than necessary at the bottom of pages, suspect the c lib +// is computing size strangely //c library usage based on https://medium.com/@eddo2626/lets-learn-zig-4-using-c-libraries-in-zig-5fcc3206f0dc -// const std = @import("std"); const clap = @import("clap"); const DisplayWidth = @import("DisplayWidth"); @@ -30,6 +30,7 @@ const Card = struct { const TextCard = struct { lines: [][]const u8 = undefined, }; + const CardSortContext = struct { const Self = @This(); list: []TextCard,