120-fix-ncurses.patch (422B)
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 7 - Canvas(int x = 0, int y = 0, int width = 0, int height = 0); 8 + Canvas(int x = 0, int y = 0, int width = 1, int height = 1); 9 ~Canvas() { delwin(m_window); } 10 11 void refresh() { wnoutrefresh(m_window); }