no-lineedit.c 593 B

12345678910111213141516171819
  1. /*
  2. * Stubs of functions in lineedit.c, for use in programs that don't
  3. * have any use for line editing (e.g. because they don't have a
  4. * terminal either).
  5. */
  6. #include "putty.h"
  7. #include "terminal.h"
  8. TermLineEditor *lineedit_new(Terminal *term, unsigned flags,
  9. TermLineEditorCallbackReceiver *receiver)
  10. {
  11. return NULL;
  12. }
  13. void lineedit_free(TermLineEditor *le) {}
  14. void lineedit_input(TermLineEditor *le, char ch, bool dedicated) {}
  15. void lineedit_modify_flags(TermLineEditor *le, unsigned clr, unsigned flip) {}
  16. void lineedit_send_line(TermLineEditor *le) {}