mirror of
https://github.com/tio/tio.git
synced 2026-05-01 23:07:58 +02:00
Consolidate timestamp implementation in one file
This commit is contained in:
parent
a85cfcf3ef
commit
ba2d49d2f7
10 changed files with 202 additions and 139 deletions
|
|
@ -52,6 +52,7 @@
|
|||
#include "setspeed.h"
|
||||
#include "rs485.h"
|
||||
#include "alert.h"
|
||||
#include "timestamp.h"
|
||||
#include "misc.h"
|
||||
|
||||
#ifdef __APPLE__
|
||||
|
|
@ -1188,7 +1189,7 @@ int tty_connect(void)
|
|||
/* Print timestamp on new line if enabled */
|
||||
if (next_timestamp && input_char != '\n' && input_char != '\r')
|
||||
{
|
||||
now = current_time();
|
||||
now = timestamp_current_time();
|
||||
if (now)
|
||||
{
|
||||
ansi_printf_raw("[%s] ", now);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue