commit b4a8cddc48adb348fe103f2ddf87197e1c91f17a parent 37fbde1566c883e79b8f7088f3bcaee305e194bf Author: William Casarin <jb55@jb55.com> Date: Wed, 11 Sep 2024 16:24:50 -0700 fix crash in selected columns Signed-off-by: William Casarin <jb55@jb55.com> Diffstat:
M | src/column.rs | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/column.rs b/src/column.rs @@ -71,7 +71,7 @@ impl Columns { } pub fn new(columns: Vec<Column>) -> Self { - let selected = -1; + let selected = 0; Columns { columns, selected } }