summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-03-28 23:27:04 -0400
committerpommicket <pommicket@gmail.com>2023-05-11 11:51:46 -0400
commitba8d08d0eef98e1950f8c96c12fe8de3f0f059ae (patch)
tree5dd04415beb515852287b80b9e49b3690e35d173 /main.c
parent0063db338f912a0cf961a738899b3757cba2340b (diff)
show version number in corner, update windows installer
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.c b/main.c
index 123e247..e2c795b 100644
--- a/main.c
+++ b/main.c
@@ -1012,6 +1012,9 @@ int main(int argc, char **argv) {
usages_frame(ted);
} else {
autocomplete_close(ted);
+ text_utf8_anchored(font, "ted v. " TED_VERSION,
+ window_width - padding, window_height - padding,
+ ted_active_color(ted, COLOR_COMMENT), ANCHOR_BOTTOM_RIGHT);
text_utf8_anchored(font, "Press Ctrl+O to open a file or Ctrl+N to create a new one.",
window_width * 0.5f, window_height * 0.5f, ted_active_color(ted, COLOR_COMMENT), ANCHOR_MIDDLE);
text_render(font);