diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-05 16:42:24 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-05 16:42:24 -0800 |
commit | 5ad6849d4e6aa76a72b671b50b143ef80d381a75 (patch) | |
tree | b381f5b239085d378af1865d82f549e33ba9827f /reader.h | |
parent | 7fcf25a78f7241b9ee50ea9d5cbf2b0646c45b78 (diff) |
Work on new history implementation
Diffstat (limited to 'reader.h')
-rw-r--r-- | reader.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |