120-fix-ncurses.patch 422 B

1234567891011
  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); }