diff options
author | pommicket <pommicket@gmail.com> | 2023-03-28 23:27:04 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-05-11 11:51:46 -0400 |
commit | ba8d08d0eef98e1950f8c96c12fe8de3f0f059ae (patch) | |
tree | 5dd04415beb515852287b80b9e49b3690e35d173 /main.c | |
parent | 0063db338f912a0cf961a738899b3757cba2340b (diff) |
show version number in corner, update windows installer
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |