diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-19 09:01:42 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-19 09:01:42 +0000 |
| commit | c23e61b4455cee8669c7d594478a4238048f032f (patch) | |
| tree | 084e9c90a440483797fdf64fb0fc43470d4b9d16 /include/util/prompt.h | |
| parent | 83588b7ee9349a941b91294fa83fe6e207883ab6 (diff) | |
fix vt100 cursor pos race
Diffstat (limited to 'include/util/prompt.h')
| -rw-r--r-- | include/util/prompt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/util/prompt.h b/include/util/prompt.h index a99e933..28ec106 100644 --- a/include/util/prompt.h +++ b/include/util/prompt.h @@ -11,7 +11,7 @@ inline constexpr std::string_view prompt_normal = "$"; inline constexpr std::string_view prompt_root = "#"; extern bool emit_prompt; -void print_prompt(); -std::string get_prompt(); +int print_prompt(); +std::string get_prompt_symbol(); } |
