You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cpp-terminal is currently not checking that much for legal inputs on some functions. For example: Term::Window_24bit scr(0, 0, 10, 10); returns a segmentation fault, because the used vectors of the window class can't have negative places. we should simply throw a std::runtime_error here. That would include:
Term::Window
Term::Window_24bit
(with some functions, like Term::Window::fill_bg)
Term::color
Term::color_24bit
and probably all other functions without enforced types (like enums)
The text was updated successfully, but these errors were encountered:
cpp-terminal is currently not checking that much for legal inputs on some functions. For example:
Term::Window_24bit scr(0, 0, 10, 10);
returns a segmentation fault, because the used vectors of the window class can't have negative places. we should simply throw astd::runtime_error
here. That would include:and probably all other functions without enforced types (like enums)
The text was updated successfully, but these errors were encountered: