11 lines
416 B
Diff
11 lines
416 B
Diff
|
--- 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); }
|