aboutsummaryrefslogtreecommitdiff
path: root/include/util/prompt.h
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-09-01 12:51:57 +0000
committer_ov4 <ov4@ov4.org>2026-09-01 12:51:57 +0000
commita3d3f23d495054b2e97c696f6eccb8be9188d15f (patch)
treee135f8b8723c958f082da68db22c84c5970dc89c /include/util/prompt.h
parentce259549bab8b0be5b91875137f25bf75e46e3a0 (diff)
inline update
Diffstat (limited to 'include/util/prompt.h')
-rw-r--r--include/util/prompt.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/include/util/prompt.h b/include/util/prompt.h
index 6cdcfb8..a9eae46 100644
--- a/include/util/prompt.h
+++ b/include/util/prompt.h
@@ -6,11 +6,13 @@
namespace ov4
{
- constexpr std::string_view prompt_normal = "$";
- constexpr std::string_view prompt_root = "#";
- constexpr size_t hostname_size = 128;
- extern bool emit_prompt;
- void print_prompt();
- std::string get_prompt();
+inline constexpr std::string_view prompt_normal = "$";
+inline constexpr std::string_view prompt_root = "#";
+inline constexpr size_t hostname_size = 128;
+extern bool emit_prompt;
+
+void print_prompt();
+std::string get_prompt();
+
}