blob: a6719f2e4a7584c41949510423212c5017d1a7fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/src/display/canvas.h
+++ b/src/display/canvas.h
@@ -48,7 +48,7 @@ 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() { if (!m_isDaemon) { delwin(m_window); } }
void refresh() { if (!m_isDaemon) { wnoutrefresh(m_window); } }
|