From e87ff7e8731d86d2d42717ccd9ea5cbf4d682b75 Mon Sep 17 00:00:00 2001 From: Arthur Sonzogni Date: Mon, 12 Jul 2021 23:22:15 +0200 Subject: [PATCH] Minor update of the documentation. (#148) --- doc/mainpage.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/mainpage.md b/doc/mainpage.md index 68d8b2c..28efb32 100644 --- a/doc/mainpage.md +++ b/doc/mainpage.md @@ -493,11 +493,11 @@ resize, etc..., the `ftxui::ScreenInteractive::Loop()` is responsible for drawing a new frame. You might want to react to arbitrary events that are unknown to FTXUI. This can -be achieve by posting events via `PostEvent`, via a thread. You can post the -event`Event::Custom`. +be achieve by posting events via `ftxui::ScreenInteractive::PostEvent`, via a +thread. You can post the event`ftxui::Event::Custom`. ```cpp -screen->PostEvent(ftxui::Event::Custom); +screen->PostEvent(Event::Custom); ``` `ftxui::ScreenInteractive::PostEvent` is thread safe.