cpp-terminal icon indicating copy to clipboard operation
cpp-terminal copied to clipboard

old TODO's and clean up

Open MCWertGaming opened this issue 3 years ago • 2 comments

We need to implement all TODO's and clean up the code a bit:

  • [ ] move constants in conversion.hpp into a enum
  • [x] change linux sscanf to something better (clang-tidy issue) (TODO)
  • [x] Silently disable raw mode if the terminal is not interactive (TODO)
  • [ ] skip adding a number to ansi codes on 0 (0 is the deafult value if no value is specified)
  • [ ] throw runtime errors on wrong values for ANSI functions
  • [x] optimize datatypes (use for 0 - 255 ranges uint8_t)
  • [ ] make the code available for unsupported sequences in input function
  • [x] merge window and window24 together
  • [ ] add screen parameter to window class (TODO)
  • [ ] make a function out of the ansi code from the new prompt
  • [x] remove function names from headers

MCWertGaming avatar Dec 09 '21 13:12 MCWertGaming