summaryrefslogtreecommitdiff
path: root/src/util.hpp
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:15 +0200
committerBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:15 +0200
commit0a48c0f1af4b35338d2360f6efa4c467ec60b60d (patch)
tree406a6b1bda002889f8a99be215fcc9847dc0cb7e /src/util.hpp
parent656d238d855e3d7640f10c6b0c1dc84380f50e94 (diff)
Refactor messages.cc to use boost::circular_buffer
We might as well delegate the massive implementation complexity and get rid of a ton of legacy code.
Diffstat (limited to 'src/util.hpp')
-rw-r--r--src/util.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.hpp b/src/util.hpp
index 2953ca11..eafe4f31 100644
--- a/src/util.hpp
+++ b/src/util.hpp
@@ -47,6 +47,7 @@ extern void text_out(cptr str);
extern void text_out_c(byte a, cptr str);
extern void clear_from(int row);
extern int ask_menu(cptr ask, const std::vector<std::string> &items);
+extern bool askfor_aux(std::string *buf, std::size_t max_len);
extern bool_ askfor_aux(char *buf, int len);
extern bool_ askfor_aux_with_completion(char *buf, int len);
extern bool_ get_string(cptr prompt, char *buf, int len);