Use version from git

This commit is contained in:
Martin Lund 2024-10-25 19:35:13 +02:00
parent 330e99381e
commit ab678e6c88
5 changed files with 17 additions and 5 deletions

View file

@ -22,6 +22,7 @@
#if defined(__linux__)
#include <linux/serial.h>
#endif
#include "git-version.h"
#include "config.h"
#include <stdarg.h>
#include <stdio.h>
@ -1090,7 +1091,7 @@ void handle_command_sequence(char input_char, char *output_char, bool *forward)
break;
case KEY_V:
tio_printf("tio v%s", VERSION);
tio_printf("tio %s", GIT_VERSION);
break;
case KEY_X: