diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-05-06 08:44:50 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-08-28 19:01:48 +0000 |
commit | 1a367d6a22efc2e596c29d8c3eb95102775f8b24 (patch) | |
tree | 782a9c669f1be9b112969a59442147b5c9615c4a /src/common/util.h | |
parent | Merge pull request #5707 (diff) | |
download | monero-1a367d6a22efc2e596c29d8c3eb95102775f8b24.tar.xz |
simplewallet: lock console on inactivity
Diffstat (limited to 'src/common/util.h')
-rw-r--r-- | src/common/util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h index b0f734eff..b794d7908 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -248,4 +248,8 @@ namespace tools std::string get_human_readable_timespan(uint64_t seconds); std::string get_human_readable_bytes(uint64_t bytes); + + void clear_screen(); + + std::vector<std::pair<std::string, size_t>> split_string_by_width(const std::string &s, size_t columns); } |