mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Show the elapsed time since the document was loaded in the document info box
This commit is contained in:
parent
f2f478eb2f
commit
bd8a7c4178
@ -201,6 +201,13 @@ document_info_dialog(struct session *ses)
|
||||
cached->last_modified);
|
||||
}
|
||||
|
||||
if (!cached->incomplete) {
|
||||
add_format_to_string(&msg, "\n%s: ",
|
||||
_("Time since loading", term));
|
||||
add_duration_to_string(&msg,
|
||||
time(NULL) - cached->seconds);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#ifdef CONFIG_GLOBHIST
|
||||
|
Loading…
Reference in New Issue
Block a user