mirror of
https://github.com/sheumann/hush.git
synced 2024-12-23 05:29:58 +00:00
3f11b1bf63
0000025: vi-editing mode for ash
20 lines
406 B
C
20 lines
406 B
C
#ifndef CMDEDIT_H
|
|
#define CMDEDIT_H
|
|
|
|
int cmdedit_read_input(char* promptStr, char* command);
|
|
|
|
#ifdef CONFIG_ASH
|
|
extern const char *cmdedit_path_lookup;
|
|
#endif
|
|
|
|
#ifdef CONFIG_FEATURE_COMMAND_SAVEHISTORY
|
|
void load_history ( const char *fromfile );
|
|
void save_history ( const char *tofile );
|
|
#endif
|
|
|
|
#if CONFIG_FEATURE_COMMAND_EDITING_VI
|
|
void setvimode ( int viflag );
|
|
#endif
|
|
|
|
#endif /* CMDEDIT_H */
|