From c47cfb32f4ca9ed7bbb360053d90f1fb52a95708 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Fri, 9 Oct 2026 03:41:56 +0000 Subject: add line editor history --- include/history.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/history.h') diff --git a/include/history.h b/include/history.h index 77ab9ed..a4966e2 100644 --- a/include/history.h +++ b/include/history.h @@ -8,7 +8,11 @@ namespace ov4 inline std::vector history_vec; +inline size_t history_index; + void add_history(const std::string &s); void clear_history(); +std::size_t get_last_index(); + } -- cgit v1.3.1-4-g156e