aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-09-04 09:18:38 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-09-04 09:18:38 -0500
commit23547e6ed6c9f0dc694d55316540000b030bbb06 (patch)
tree51305d9a8d88427be4171908a4882a8dc03e7186 /src/common/util.h
parentMerge pull request #5793 (diff)
parentsimplewallet: lock console on inactivity (diff)
downloadmonero-23547e6ed6c9f0dc694d55316540000b030bbb06.tar.xz
Merge pull request #5536
1a367d6 simplewallet: lock console on inactivity (moneromooo-monero)
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h4
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);
}