diff options
author | Tom Smeding <tom@tomsmeding.com> | 2021-10-17 16:12:20 +0200 |
---|---|---|
committer | Tom Smeding <tom@tomsmeding.com> | 2021-10-17 16:12:20 +0200 |
commit | 4fd25ec14b335414fd96105df6bed64f4882ed1a (patch) | |
tree | 1abf432203828de43359f97b018d70229d1f8b36 /multilog.h | |
parent | 006f8b49d9ebe1ca334b934d0a127c0029300871 (diff) |
params.h -> command-line arguments
Diffstat (limited to 'multilog.h')
-rw-r--r-- | multilog.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -19,12 +19,15 @@ class MultiLog { mutex mut; vector<Item> items; + const bool fancy; // Methods assume mutex is taken. size_t findId(int id); void redrawLine(size_t idx); public: + MultiLog(bool fancy); + // Returns id of new item int add(const string_view prefix); void append(int id, const string_view text); |