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