aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/line/line_editor.h2
-rw-r--r--include/util/prompt.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/line/line_editor.h b/include/line/line_editor.h
index 8fa3841..558bd83 100644
--- a/include/line/line_editor.h
+++ b/include/line/line_editor.h
@@ -63,7 +63,7 @@ public:
// input
void clear_below();
- std::string readline();
+ std::string readline(int prompt_len);
};
} \ No newline at end of file
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();
}