diff options
| author | _ov4 <ov4@ov4.org> | 2026-09-01 08:13:05 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-09-01 08:13:05 +0000 |
| commit | 3827fc4543f55ff33ed657625b68ca628917188c (patch) | |
| tree | c90a85a93b9457c3683b42a9bac390882e670455 /include/util/prompt.h | |
| parent | 9a09c0bfc5956ed57fa4c26f84babb6778fa8a34 (diff) | |
hostname support
Diffstat (limited to 'include/util/prompt.h')
| -rw-r--r-- | include/util/prompt.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/util/prompt.h b/include/util/prompt.h index 464156a..6cdcfb8 100644 --- a/include/util/prompt.h +++ b/include/util/prompt.h @@ -6,8 +6,11 @@ namespace ov4 { - constexpr std::string_view prompt = "$"; + 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(); } |
