Switch name Producer/Consumer -> Sender/Receiver

The producer/consumer was created for:
https://github.com/ArthurSonzogni/FTXUI/pull/11

This patch makes rename everything from Producer/Consumer toward
Sender/Receiver.
This commit is contained in:
ArthurSonzogni
2020-03-25 00:07:41 +01:00
parent 09a1b16613
commit 0a7b556a12
7 changed files with 128 additions and 126 deletions

View File

@@ -2,10 +2,10 @@
#define FTXUI_COMPONENT_EVENT_HPP
#include <array>
#include <ftxui/component/receiver.hpp>
#include <functional>
#include <string>
#include <vector>
#include <ftxui/component/producer_consumer.hpp>
namespace ftxui {
@@ -21,7 +21,7 @@ struct Event {
static Event Character(const std::string&);
static Event Special(const std::string&);
static void Convert(Consumer<char>& in, Producer<Event>& out, char c);
static void Convert(Receiver<char>& in, Sender<Event>& out, char c);
// --- Arrow ---
static Event ArrowLeft;