aboutsummaryrefslogtreecommitdiffhomepage
path: root/reader.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-05 16:42:24 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-05 16:42:24 -0800
commit5ad6849d4e6aa76a72b671b50b143ef80d381a75 (patch)
treeb381f5b239085d378af1865d82f549e33ba9827f /reader.h
parent7fcf25a78f7241b9ee50ea9d5cbf2b0646c45b78 (diff)
Work on new history implementation
Diffstat (limited to 'reader.h')
-rw-r--r--reader.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/reader.h b/reader.h
index 593a816d..4aa79739 100644
--- a/reader.h
+++ b/reader.h
@@ -17,6 +17,7 @@
class parser_t;
class completion_t;
+class history_t;
/**
Read commands from \c fd until encountering EOF
@@ -84,6 +85,9 @@ void reader_run_command( const wchar_t *buff );
*/
wchar_t *reader_get_buffer();
+/** Returns the current reader's history */
+history_t *reader_get_history(void);
+
/**
Set the string of characters in the command buffer, as well as the cursor position.