Skip to content

Commit 28da270

Browse files
ingolohmarneurocyte
authored andcommitted
harmonize selection display
1 parent a5af34e commit 28da270

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tui/status/selectionstate.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ fn format(self: *Self) void {
6969
sel.normalize();
7070
const lines = sel.end.row - sel.begin.row;
7171
if (lines == 0) {
72-
std.fmt.format(writer, "({d} selected)", .{sel.end.col - sel.begin.col}) catch {};
72+
std.fmt.format(writer, "({d} columns selected)", .{sel.end.col - sel.begin.col}) catch {};
7373
} else {
7474
std.fmt.format(writer, "({d} lines selected)", .{if (sel.end.col == 0) lines else lines + 1}) catch {};
7575
}

0 commit comments

Comments
 (0)