mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Use version from git
This commit is contained in:
parent
330e99381e
commit
ab678e6c88
5 changed files with 17 additions and 5 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue