summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-04-16 16:25:03 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2021-04-16 16:25:03 -0400
commitd76fb30c7f8e073dd17180752dbd56dfa62511d3 (patch)
tree9bd5ad978a54e00f6539fdb7d5f5d23e2aefeac5 /ted.h
parent51ac447d409bb565178ab9d78d4b5200e89f2cf4 (diff)
command history for :shell
Diffstat (limited to 'ted.h')
-rw-r--r--ted.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ted.h b/ted.h
index d0632cc..5410398 100644
--- a/ted.h
+++ b/ted.h
@@ -308,6 +308,8 @@ typedef struct Ted {
Node *resizing_split;
char **tag_selector_entries; // an array of all tags (see tag_selector_open)
+ char **shell_history; // dynamic array of history of commands run with :shell (UTF-8)
+ u32 shell_history_pos; // for keeping track of where we are in the shell history.
// points to a selector if any is open, otherwise NULL.
Selector *selector_open;