From 79f8293a0df9fd88f56f0035e70233adbee4ab51 Mon Sep 17 00:00:00 2001
From: ArthurSonzogni <sonzogniarthur@gmail.com>
Date: Mon, 3 Jul 2023 21:10:47 +0200
Subject: [PATCH] Fix Canvas documentation.

The braille characters can fit 2x4 dots per cells, not 2x8.

Bug:https://github.com/ArthurSonzogni/FTXUI/issues/694
---
 src/ftxui/dom/canvas.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/ftxui/dom/canvas.cpp b/src/ftxui/dom/canvas.cpp
index 58ca4e3d..39ecbb38 100644
--- a/src/ftxui/dom/canvas.cpp
+++ b/src/ftxui/dom/canvas.cpp
@@ -79,8 +79,8 @@ constexpr auto nostyle = [](Pixel& /*pixel*/) {};
 }  // namespace
 
 /// @brief Constructor.
-/// @param width the width of the canvas. A cell is a 2x8 braille dot.
-/// @param height the height of the canvas. A cell is a 2x8 braille dot.
+/// @param width the width of the canvas. A cell is a 2x4 braille dot.
+/// @param height the height of the canvas. A cell is a 2x4 braille dot.
 Canvas::Canvas(int width, int height)
     : width_(width),
       height_(height),
-- 
GitLab