You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
422 B

  1. --- a/src/display/canvas.h
  2. +++ b/src/display/canvas.h
  3. @@ -48,7 +48,7 @@ class Canvas {
  4. public:
  5. typedef std::vector<Attributes> attributes_list;
  6. - Canvas(int x = 0, int y = 0, int width = 0, int height = 0);
  7. + Canvas(int x = 0, int y = 0, int width = 1, int height = 1);
  8. ~Canvas() { delwin(m_window); }
  9. void refresh() { wnoutrefresh(m_window); }