15 #ifndef __UT_CmdLineReader_h__
16 #define __UT_CmdLineReader_h__
64 void disableLineBuffering();
65 void reenableLineBuffering();
66 bool isLineBufferingEnabled()
const;
74 bool handleNextBufferedKey(
bool &done_line);
76 void insertChar(
char ch);
77 void insertString(
const char *str);
78 void removeCharBefore();
80 void removeWordBefore();
82 void updateDisplay(
const UT_WorkBuffer &old_line,
int old_cursor_pos,
84 int tabLengthAtPosition(
int tab_start_pos);
86 void printExpandedChar(
87 char chr,
int index,
int *char_lengths,
char replacement=
'\0');
89 void moveUpThroughHistory();
90 void moveDownThroughHistory();
94 bool myAllowCmdLineEditing;
99 TerminalData *myTerminalData;
101 bool myLineBufferingIsDisabled;
102 bool myLineBufferingWasDisabled;
103 bool myIsReadingLine;
bool hasUnhandledInput() const
void(* UT_TabCallback)(UT_WorkBuffer &, int &)