diff options
author | scratko <m@scratko.xyz> | 2024-06-20 18:38:11 +0300 |
---|---|---|
committer | scratko <m@scratko.xyz> | 2024-11-23 20:59:45 +0300 |
commit | 54679d85b1f2c1349bcbbc76b10d57a1e5137f23 (patch) | |
tree | 030bb7951a9a16dcdb8b1f47d1a5ff09dba8276c /lexical_analysis.h | |
parent | ff38bddd4253b5adf08a84df34bfae32c8ae988d (diff) | |
download | shell-54679d85b1f2c1349bcbbc76b10d57a1e5137f23.tar.gz shell-54679d85b1f2c1349bcbbc76b10d57a1e5137f23.tar.bz2 shell-54679d85b1f2c1349bcbbc76b10d57a1e5137f23.zip |
Shell-edit releaseshell-edit
Autocomplete program and file names (tab).
Moving the cursor to edit commands (left and right arrows).
Deleting a character in a command (backspace).
Diffstat (limited to 'lexical_analysis.h')
-rw-r--r-- | lexical_analysis.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lexical_analysis.h b/lexical_analysis.h index 3266ad7..9d7d556 100644 --- a/lexical_analysis.h +++ b/lexical_analysis.h @@ -2,6 +2,7 @@ #define LEXICAL_ANALYSIS_H_SENTRY #include "shell.h" +#include "readline.h" int is_double_quotes_pair(struct param_type params); int escape_double_quotes_or_backslash(int ch, struct param_type params); @@ -26,7 +27,8 @@ int is_double_token(struct param_type *params); int stream_redirect_tokens(struct w_queue *word_chain, struct dynamic_array *tmp_word, - int ch, struct param_type *params); + int ch, struct param_type *params, + struct readline_type *readline); int double_quotes_again(int ch, struct param_type params); @@ -37,6 +39,6 @@ int pipeline_token_processing(struct w_queue *word_chain, int special_tokens(struct w_queue *word_chain, struct c_queue *cmdlines, struct dynamic_array *tmp_word, int ch, - struct param_type *params); + struct param_type *params, struct readline_type *readline); #endif |