FTXUI 6.1.9
C++ functional terminal UI.
Loading...
Searching...
No Matches
terminal_input_parser_test_fuzzer.cpp
Go to the documentation of this file.
1// Copyright 2021 Arthur Sonzogni. All rights reserved.
2// Use of this source code is governed by the MIT license that can be found in
3// the LICENSE file.
4#include <cstddef>
7
8extern "C" int LLVMFuzzerTestOneInput(const char* data, size_t size) {
9 using namespace ftxui;
10 auto parser = TerminalInputParser([&](Event) {});
11 for (size_t i = 0; i < size; ++i) {
12 parser.Add(data[i]);
13 }
14
15 return 0; // Non-zero return values are reserved for future use.
16}
Represent an event. It can be key press event, a terminal resize, or more ...
Definition event.hpp:29
The FTXUI ftxui:: namespace.
Definition animation.hpp:10
int LLVMFuzzerTestOneInput(const char *data, size_t size)