tChange right status format - ve - a minimal text editor (work in progress)
(HTM) git clone git://src.adamsgaard.dk/ve
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 4247f1004df471c91886c04a985b3faba9d08501
(DIR) parent 808136c495310278d11336fd74be67cd09c43e57
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Wed, 7 Aug 2019 16:14:40 +0200
Change right status format
Diffstat:
M output.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/output.c b/output.c
t@@ -74,7 +74,7 @@ editor_draw_status(struct abuf *ab)
percentage = (int)((float)(E.cursor_y)/(E.num_rows-1)*100);
if (percentage < 0) percentage = 0;
right_status_len = snprintf(right_status, sizeof(right_status),
- "%d%% < %d:%d",
+ "%d%% < %d, %d",
percentage,
E.cursor_x+1, E.cursor_y+1);