mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Add '24hour-delta' timestamp option
When enabled this option will timestamp new lines with the time elapsed since the line before. This is a very useful feature to identify which events takes the most time.
This commit is contained in:
parent
eecfa6485c
commit
732c0c3f89
4 changed files with 38 additions and 8 deletions
|
|
@ -355,6 +355,9 @@ void handle_command_sequence(char input_char, char previous_char, char *output_c
|
|||
case TIMESTAMP_24HOUR_START:
|
||||
tio_printf("Switched to 24hour-start timestamp mode");
|
||||
break;
|
||||
case TIMESTAMP_24HOUR_DELTA:
|
||||
tio_printf("Switched to 24hour-delta timestamp mode");
|
||||
break;
|
||||
case TIMESTAMP_ISO8601:
|
||||
tio_printf("Switched to iso8601 timestamp mode");
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue