shellmatta_escape.h 756 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Copyright (c) 2019 Stefan Strobel <stefan.strobel@shimatta.net>
  3. *
  4. * This Source Code Form is subject to the terms of the Mozilla Public
  5. * License, v. 2.0. If a copy of the MPL was not distributed with this
  6. * file, You can obtain one at https://mozilla.org/MPL/2.0/.
  7. */
  8. /**
  9. * @file shellmatta_escape.h
  10. * @brief functions to parse and generate escape sequences
  11. * @author Stefan Strobel <stefan.strobel@shimatta.net>
  12. */
  13. /**
  14. * @addtogroup shellmatta_escape
  15. * @{
  16. */
  17. #ifndef _SHELLMATTA_ESCAPE_H_
  18. #define _SHELLMATTA_ESCAPE_H_
  19. #include "shellmatta.h"
  20. #include <stdint.h>
  21. shellmatta_retCode_t escape_processArrowKeys(shellmatta_instance_t *inst);
  22. void escape_handleSequence(shellmatta_instance_t *inst, char data);
  23. #endif
  24. /** @} */