aruu

[MIRROR] Actual replacement for Busybox | suckless
git clone https://git.daat.foo/aruu.git
Log | Files | Refs | README | LICENSE

lineedit.h (532B)


      1 /* see license file for copyright and license details */
      2 #ifndef LINEEDIT_H_
      3 #define LINEEDIT_H_
      4 
      5 #if FEATURE_SH_HISTEDIT
      6 
      7 #include "redline.h"
      8 
      9 extern int sh_history_enabled;
     10 extern int displayhist;
     11 
     12 void histedit(void);
     13 void sethistsize(const char *s);
     14 void setterm(const char *t);
     15 void histload(void);
     16 void histsave(void);
     17 
     18 #else
     19 
     20 #define histedit()     ((void)0)
     21 #define sethistsize(s) ((void)0)
     22 #define setterm(t)     ((void)0)
     23 #define histload()     ((void)0)
     24 #define histsave()     ((void)0)
     25 
     26 #endif
     27 
     28 #endif /* LINEEDIT_H_ */