1 2 #ifndef CLIMM_UTIL_RL_H 3 #define CLIMM_UTIL_RL_H 1 4 5 extern UDWORD rl_columns; 6 extern volatile UBYTE rl_signal; 7 8 void ReadLineInit (void); 9 void ReadLineTtyUnset (void); 10 void ReadLineTtySet (void); 11 void ReadLineClrScr (void); 12 void ReadLineHandleSig (void); 13 void ReadLineAllowTab (UBYTE onoff); 14 15 str_t ReadLine (UBYTE newbyte); 16 17 void ReadLinePrompt (void); 18 void ReadLinePromptHide (void); 19 void ReadLinePromptSet (const char *prompt); 20 void ReadLinePromptUpdate (const char *prompt); 21 void ReadLinePromptReset (void); 22 23 strc_t ReadLineAnalyzeWidth (const char *text, UWORD *width); 24 const char *ReadLinePrintWidth (const char *text, const char *left, const char *right, UWORD *width); 25 const char *ReadLinePrintCont (const char *nick, const char *left); 26 27 #endif 28