We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2c046b commit 0e9173cCopy full SHA for 0e9173c
pgactivity/views.py
@@ -226,10 +226,14 @@ def indent(text: str) -> str:
226
pg_version,
227
f"{term.bold}{host.hostname}{term.normal}",
228
f"{term.cyan}{pg_host}{term.normal}",
229
- f"Ref.: {ui.refresh_time}s",
+ f"Ref.: {term.yellow}{ui.refresh_time}s{term.normal}",
230
f"Duration mode: {term.yellow}{ui.duration_mode.name}{term.normal}",
231
]
232
- + ([f"Min. duration: {ui.min_duration}s"] if ui.min_duration else [])
+ + (
233
+ [f"Min. duration: {term.yellow}{ui.min_duration}s{term.normal}"]
234
+ if ui.min_duration
235
+ else []
236
+ )
237
)
238
239
0 commit comments