diff --git a/examples/component/checkbox.cpp b/examples/component/checkbox.cpp index 7b3fba403..c63de2834 100644 --- a/examples/component/checkbox.cpp +++ b/examples/component/checkbox.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/component/checkbox.hpp" #include "ftxui/component/component.hpp" diff --git a/examples/component/checkbox_in_frame.cpp b/examples/component/checkbox_in_frame.cpp index b0eb5e9a0..aa66be72c 100644 --- a/examples/component/checkbox_in_frame.cpp +++ b/examples/component/checkbox_in_frame.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/component/checkbox.hpp" #include "ftxui/component/container.hpp" #include "ftxui/component/input.hpp" diff --git a/examples/component/gallery.cpp b/examples/component/gallery.cpp index dc6bf556c..360938c81 100644 --- a/examples/component/gallery.cpp +++ b/examples/component/gallery.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/component/checkbox.hpp" #include "ftxui/component/container.hpp" #include "ftxui/component/input.hpp" diff --git a/examples/component/homescreen.cpp b/examples/component/homescreen.cpp index 10abfd1e6..b92856edf 100644 --- a/examples/component/homescreen.cpp +++ b/examples/component/homescreen.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include diff --git a/examples/component/input.cpp b/examples/component/input.cpp index cfe5aa7a7..269fc1bff 100644 --- a/examples/component/input.cpp +++ b/examples/component/input.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/component/input.hpp" #include diff --git a/examples/component/menu.cpp b/examples/component/menu.cpp index 43afd4612..db8b96f4b 100644 --- a/examples/component/menu.cpp +++ b/examples/component/menu.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/component/menu.hpp" #include diff --git a/examples/component/menu2.cpp b/examples/component/menu2.cpp index d07885581..daf320350 100644 --- a/examples/component/menu2.cpp +++ b/examples/component/menu2.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include #include diff --git a/examples/component/menu_style.cpp b/examples/component/menu_style.cpp index ae3e4ae36..433c2349f 100644 --- a/examples/component/menu_style.cpp +++ b/examples/component/menu_style.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include diff --git a/examples/component/radiobox.cpp b/examples/component/radiobox.cpp index 8a9dd7e23..46e106d8c 100644 --- a/examples/component/radiobox.cpp +++ b/examples/component/radiobox.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/component/radiobox.hpp" #include "ftxui/component/component.hpp" diff --git a/examples/component/radiobox_in_frame.cpp b/examples/component/radiobox_in_frame.cpp index 7bcb2066e..ae40ac36a 100644 --- a/examples/component/radiobox_in_frame.cpp +++ b/examples/component/radiobox_in_frame.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/component/checkbox.hpp" #include "ftxui/component/container.hpp" #include "ftxui/component/input.hpp" diff --git a/examples/component/tab_horizontal.cpp b/examples/component/tab_horizontal.cpp index d827505f6..77e689f8e 100644 --- a/examples/component/tab_horizontal.cpp +++ b/examples/component/tab_horizontal.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include diff --git a/examples/component/tab_vertical.cpp b/examples/component/tab_vertical.cpp index 3fc480436..c8ad68984 100644 --- a/examples/component/tab_vertical.cpp +++ b/examples/component/tab_vertical.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include "ftxui/component/container.hpp" diff --git a/examples/component/toggle.cpp b/examples/component/toggle.cpp index 6dc185a41..3844a596e 100644 --- a/examples/component/toggle.cpp +++ b/examples/component/toggle.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/component/toggle.hpp" #include diff --git a/examples/dom/border.cpp b/examples/dom/border.cpp index 0211d64fd..837f21969 100644 --- a/examples/dom/border.cpp +++ b/examples/dom/border.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include #include diff --git a/examples/dom/dbox.cpp b/examples/dom/dbox.cpp index 698af03fe..742c58ac7 100644 --- a/examples/dom/dbox.cpp +++ b/examples/dom/dbox.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include "ftxui/dom/elements.hpp" diff --git a/examples/dom/gauge.cpp b/examples/dom/gauge.cpp index 098137a3a..71684e677 100644 --- a/examples/dom/gauge.cpp +++ b/examples/dom/gauge.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include #include diff --git a/examples/dom/graph.cpp b/examples/dom/graph.cpp index e6d43c879..d59f9f614 100644 --- a/examples/dom/graph.cpp +++ b/examples/dom/graph.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include #include diff --git a/examples/dom/hflow.cpp b/examples/dom/hflow.cpp index 99f2b4191..cc2fd0703 100644 --- a/examples/dom/hflow.cpp +++ b/examples/dom/hflow.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include "ftxui/dom/elements.hpp" diff --git a/examples/dom/html_like.cpp b/examples/dom/html_like.cpp index 318fde5b2..8b52a57f6 100644 --- a/examples/dom/html_like.cpp +++ b/examples/dom/html_like.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include #include diff --git a/examples/dom/package_manager.cpp b/examples/dom/package_manager.cpp index e3b99b4f2..fb6719fd4 100644 --- a/examples/dom/package_manager.cpp +++ b/examples/dom/package_manager.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include #include diff --git a/examples/dom/paragraph.cpp b/examples/dom/paragraph.cpp index 614e68934..8b2da83eb 100644 --- a/examples/dom/paragraph.cpp +++ b/examples/dom/paragraph.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include "ftxui/dom/elements.hpp" diff --git a/examples/dom/separator.cpp b/examples/dom/separator.cpp index 8e69fa927..16f10f487 100644 --- a/examples/dom/separator.cpp +++ b/examples/dom/separator.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include "ftxui/dom/elements.hpp" diff --git a/examples/dom/size.cpp b/examples/dom/size.cpp index ec3cfe083..3cb9da6d7 100644 --- a/examples/dom/size.cpp +++ b/examples/dom/size.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include "ftxui/dom/elements.hpp" diff --git a/examples/dom/spinner.cpp b/examples/dom/spinner.cpp index cf26e704a..70c73db8d 100644 --- a/examples/dom/spinner.cpp +++ b/examples/dom/spinner.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include #include diff --git a/examples/dom/style_blink.cpp b/examples/dom/style_blink.cpp index a170d7744..5db769ad1 100644 --- a/examples/dom/style_blink.cpp +++ b/examples/dom/style_blink.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include "ftxui/dom/elements.hpp" diff --git a/examples/dom/style_bold.cpp b/examples/dom/style_bold.cpp index faf13b183..bc33097f4 100644 --- a/examples/dom/style_bold.cpp +++ b/examples/dom/style_bold.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include "ftxui/dom/elements.hpp" diff --git a/examples/dom/style_color.cpp b/examples/dom/style_color.cpp index 8d87eafee..06151bd54 100644 --- a/examples/dom/style_color.cpp +++ b/examples/dom/style_color.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include "ftxui/dom/elements.hpp" diff --git a/examples/dom/style_dim.cpp b/examples/dom/style_dim.cpp index eeee5af58..38e88a067 100644 --- a/examples/dom/style_dim.cpp +++ b/examples/dom/style_dim.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include "ftxui/dom/elements.hpp" diff --git a/examples/dom/style_gallery.cpp b/examples/dom/style_gallery.cpp index 4715baa80..c67a7fe4e 100644 --- a/examples/dom/style_gallery.cpp +++ b/examples/dom/style_gallery.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include "ftxui/dom/elements.hpp" diff --git a/examples/dom/style_inverted.cpp b/examples/dom/style_inverted.cpp index 0fc599d70..1395100b4 100644 --- a/examples/dom/style_inverted.cpp +++ b/examples/dom/style_inverted.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include "ftxui/dom/elements.hpp" diff --git a/examples/dom/style_underlined.cpp b/examples/dom/style_underlined.cpp index 9175c5c17..0f0184104 100644 --- a/examples/dom/style_underlined.cpp +++ b/examples/dom/style_underlined.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include "ftxui/dom/elements.hpp" diff --git a/examples/dom/vbox_hbox.cpp b/examples/dom/vbox_hbox.cpp index 0d558125e..45adfc5c9 100644 --- a/examples/dom/vbox_hbox.cpp +++ b/examples/dom/vbox_hbox.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include "ftxui/dom/elements.hpp" diff --git a/examples/util/print_key_press.cpp b/examples/util/print_key_press.cpp index dc8c968cc..86442ef3e 100644 --- a/examples/util/print_key_press.cpp +++ b/examples/util/print_key_press.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include #include diff --git a/include/ftxui/component/checkbox.hpp b/include/ftxui/component/checkbox.hpp index 7428e5320..1dcffeacb 100644 --- a/include/ftxui/component/checkbox.hpp +++ b/include/ftxui/component/checkbox.hpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #ifndef FTXUI_COMPONENT_CHECKBOX_HPP #define FTXUI_COMPONENT_CHECKBOX_HPP diff --git a/include/ftxui/component/component.hpp b/include/ftxui/component/component.hpp index c68ca667c..bd739f61d 100644 --- a/include/ftxui/component/component.hpp +++ b/include/ftxui/component/component.hpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #ifndef FTXUI_COMPONENT_COMPONENT_HPP #define FTXUI_COMPONENT_COMPONENT_HPP diff --git a/include/ftxui/component/container.hpp b/include/ftxui/component/container.hpp index 51395ed34..70fde1644 100644 --- a/include/ftxui/component/container.hpp +++ b/include/ftxui/component/container.hpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #ifndef FTXUI_COMPONENT_CONTAINER_HPP #define FTXUI_COMPONENT_CONTAINER_HPP diff --git a/include/ftxui/component/event.hpp b/include/ftxui/component/event.hpp index d02e9e082..f24082eea 100644 --- a/include/ftxui/component/event.hpp +++ b/include/ftxui/component/event.hpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #ifndef FTXUI_COMPONENT_EVENT_HPP #define FTXUI_COMPONENT_EVENT_HPP diff --git a/include/ftxui/component/input.hpp b/include/ftxui/component/input.hpp index f0c3245f6..712696f89 100644 --- a/include/ftxui/component/input.hpp +++ b/include/ftxui/component/input.hpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #ifndef FTXUI_COMPONENT_INPUT_H_ #define FTXUI_COMPONENT_INPUT_H_ diff --git a/include/ftxui/component/menu.hpp b/include/ftxui/component/menu.hpp index ca38ffdd6..91a709b9e 100644 --- a/include/ftxui/component/menu.hpp +++ b/include/ftxui/component/menu.hpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #ifndef FTXUI_COMPONENT_MENU #define FTXUI_COMPONENT_MENU diff --git a/include/ftxui/component/radiobox.hpp b/include/ftxui/component/radiobox.hpp index 1f15a7ecd..a938b1b77 100644 --- a/include/ftxui/component/radiobox.hpp +++ b/include/ftxui/component/radiobox.hpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #ifndef FTXUI_COMPONENT_RADIOBOX_HPP #define FTXUI_COMPONENT_RADIOBOX_HPP diff --git a/include/ftxui/component/receiver.hpp b/include/ftxui/component/receiver.hpp index e0ba5bb05..e1a1c2ccb 100644 --- a/include/ftxui/component/receiver.hpp +++ b/include/ftxui/component/receiver.hpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #ifndef FTXUI_COMPONENT_RECEIVER_HPP_ #define FTXUI_COMPONENT_RECEIVER_HPP_ diff --git a/include/ftxui/component/screen_interactive.hpp b/include/ftxui/component/screen_interactive.hpp index 3e0426bfb..7b9b75b9f 100644 --- a/include/ftxui/component/screen_interactive.hpp +++ b/include/ftxui/component/screen_interactive.hpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #ifndef FTXUI_COMPONENT_SCREEN_INTERACTIVE_HPP #define FTXUI_COMPONENT_SCREEN_INTERACTIVE_HPP diff --git a/include/ftxui/component/toggle.hpp b/include/ftxui/component/toggle.hpp index e93e4b34b..9747d6cda 100644 --- a/include/ftxui/component/toggle.hpp +++ b/include/ftxui/component/toggle.hpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #ifndef FTXUI_COMPONENT_TOGGLE_H_ #define FTXUI_COMPONENT_TOGGLE_H_ diff --git a/include/ftxui/dom/elements.hpp b/include/ftxui/dom/elements.hpp index 6a6828d21..82d534cb9 100644 --- a/include/ftxui/dom/elements.hpp +++ b/include/ftxui/dom/elements.hpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #ifndef FTXUI_DOM_ELEMENTS_HPP #define FTXUI_DOM_ELEMENTS_HPP diff --git a/include/ftxui/dom/node.hpp b/include/ftxui/dom/node.hpp index f54e6de99..2b8e34d02 100644 --- a/include/ftxui/dom/node.hpp +++ b/include/ftxui/dom/node.hpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #ifndef FTXUI_DOM_NODE_HPP #define FTXUI_DOM_NODE_HPP diff --git a/include/ftxui/dom/requirement.hpp b/include/ftxui/dom/requirement.hpp index f2f74124c..701959c93 100644 --- a/include/ftxui/dom/requirement.hpp +++ b/include/ftxui/dom/requirement.hpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #ifndef FTXUI_DOM_REQUIREMENT_HPP #define FTXUI_DOM_REQUIREMENT_HPP diff --git a/include/ftxui/dom/take_any_args.hpp b/include/ftxui/dom/take_any_args.hpp index e5db345ea..8de009b5f 100644 --- a/include/ftxui/dom/take_any_args.hpp +++ b/include/ftxui/dom/take_any_args.hpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include template diff --git a/include/ftxui/screen/box.hpp b/include/ftxui/screen/box.hpp index e020b642f..aaa9f4562 100644 --- a/include/ftxui/screen/box.hpp +++ b/include/ftxui/screen/box.hpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #ifndef FTXUI_SCREEN_BOX_HPP #define FTXUI_SCREEN_BOX_HPP diff --git a/include/ftxui/screen/color.hpp b/include/ftxui/screen/color.hpp index b895fa85c..d518bb022 100644 --- a/include/ftxui/screen/color.hpp +++ b/include/ftxui/screen/color.hpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #ifndef FTXUI_SCREEN_COLOR #define FTXUI_SCREEN_COLOR diff --git a/include/ftxui/screen/screen.hpp b/include/ftxui/screen/screen.hpp index b53956cf6..a5cacef6f 100644 --- a/include/ftxui/screen/screen.hpp +++ b/include/ftxui/screen/screen.hpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #ifndef FTXUI_SCREEN_SCREEN #define FTXUI_SCREEN_SCREEN diff --git a/include/ftxui/screen/string.hpp b/include/ftxui/screen/string.hpp index 1a1785ad7..b904f41bf 100644 --- a/include/ftxui/screen/string.hpp +++ b/include/ftxui/screen/string.hpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #ifndef FTXUI_SCREEN_STRING_HPP #define FTXUI_SCREEN_STRING_HPP diff --git a/include/ftxui/util/autoreset.hpp b/include/ftxui/util/autoreset.hpp index c371f0392..aa09c000e 100644 --- a/include/ftxui/util/autoreset.hpp +++ b/include/ftxui/util/autoreset.hpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #ifndef FTXUI_UTIL_AUTORESET_HPP #define FTXUI_UTIL_AUTORESET_HPP diff --git a/other/format.sh b/other/format.sh new file mode 100755 index 000000000..e8b31407c --- /dev/null +++ b/other/format.sh @@ -0,0 +1,19 @@ +#!/bin/bash +cd "$(dirname "$0")" +cd .. + +# Add the license file. +files=$(find ./src ./include ./examples -name "*.hpp" -o -name "*.cpp") +for file in $files +do + if ! grep -q Copyright $file + then + cat ./other/license_headers.cpp $file >$file.new && mv $file.new $file + fi +done + +# Use clang-format. +for file in $files +do + clang-format -i $file +done diff --git a/other/license_headers.cpp b/other/license_headers.cpp new file mode 100644 index 000000000..81c04074f --- /dev/null +++ b/other/license_headers.cpp @@ -0,0 +1,4 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + diff --git a/src/ftxui/component/checkbox.cpp b/src/ftxui/component/checkbox.cpp index 6e88987de..86e5dfb9f 100644 --- a/src/ftxui/component/checkbox.cpp +++ b/src/ftxui/component/checkbox.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/component/checkbox.hpp" #include diff --git a/src/ftxui/component/component.cpp b/src/ftxui/component/component.cpp index e194138e6..fa07cc14c 100644 --- a/src/ftxui/component/component.cpp +++ b/src/ftxui/component/component.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/component/component.hpp" #include diff --git a/src/ftxui/component/container.cpp b/src/ftxui/component/container.cpp index b4b26c5c3..1fdb47e01 100644 --- a/src/ftxui/component/container.cpp +++ b/src/ftxui/component/container.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/component/container.hpp" #include diff --git a/src/ftxui/component/container_test.cpp b/src/ftxui/component/container_test.cpp index bcab985d2..a8c6e6b36 100644 --- a/src/ftxui/component/container_test.cpp +++ b/src/ftxui/component/container_test.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/component/container.hpp" #include "gtest/gtest.h" diff --git a/src/ftxui/component/event.cpp b/src/ftxui/component/event.cpp index a4c08df7d..f595846de 100644 --- a/src/ftxui/component/event.cpp +++ b/src/ftxui/component/event.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/component/event.hpp" #include diff --git a/src/ftxui/component/input.cpp b/src/ftxui/component/input.cpp index ac3baa4fd..f5d6f63b7 100644 --- a/src/ftxui/component/input.cpp +++ b/src/ftxui/component/input.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/component/input.hpp" #include diff --git a/src/ftxui/component/menu.cpp b/src/ftxui/component/menu.cpp index e949552c2..321edbb79 100644 --- a/src/ftxui/component/menu.cpp +++ b/src/ftxui/component/menu.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/component/menu.hpp" #include diff --git a/src/ftxui/component/radiobox.cpp b/src/ftxui/component/radiobox.cpp index d09821087..6e89d956c 100644 --- a/src/ftxui/component/radiobox.cpp +++ b/src/ftxui/component/radiobox.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/component/radiobox.hpp" #include diff --git a/src/ftxui/component/radiobox_test.cpp b/src/ftxui/component/radiobox_test.cpp index 593cacd92..22a75660e 100644 --- a/src/ftxui/component/radiobox_test.cpp +++ b/src/ftxui/component/radiobox_test.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/component/radiobox.hpp" #include "gtest/gtest.h" diff --git a/src/ftxui/component/receiver_test.cpp b/src/ftxui/component/receiver_test.cpp index 530563100..7cdd513fe 100644 --- a/src/ftxui/component/receiver_test.cpp +++ b/src/ftxui/component/receiver_test.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/component/receiver.hpp" #include diff --git a/src/ftxui/component/screen_interactive.cpp b/src/ftxui/component/screen_interactive.cpp index ff29ccf6f..3eef2262f 100644 --- a/src/ftxui/component/screen_interactive.cpp +++ b/src/ftxui/component/screen_interactive.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/component/screen_interactive.hpp" #include diff --git a/src/ftxui/component/toggle.cpp b/src/ftxui/component/toggle.cpp index 8586f7050..840377712 100644 --- a/src/ftxui/component/toggle.cpp +++ b/src/ftxui/component/toggle.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/component/toggle.hpp" #include diff --git a/src/ftxui/component/toggle_test.cpp b/src/ftxui/component/toggle_test.cpp index c806c9d05..c9692d1b5 100644 --- a/src/ftxui/component/toggle_test.cpp +++ b/src/ftxui/component/toggle_test.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/component/toggle.hpp" #include "gtest/gtest.h" diff --git a/src/ftxui/dom/blink.cpp b/src/ftxui/dom/blink.cpp index 89b4e0eb0..4fa58e6aa 100644 --- a/src/ftxui/dom/blink.cpp +++ b/src/ftxui/dom/blink.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/dom/elements.hpp" #include "ftxui/dom/node_decorator.hpp" diff --git a/src/ftxui/dom/bold.cpp b/src/ftxui/dom/bold.cpp index 175b9011d..ae40c4e0c 100644 --- a/src/ftxui/dom/bold.cpp +++ b/src/ftxui/dom/bold.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/dom/elements.hpp" #include "ftxui/dom/node_decorator.hpp" diff --git a/src/ftxui/dom/border.cpp b/src/ftxui/dom/border.cpp index 7ef1b6eb3..2ce263061 100644 --- a/src/ftxui/dom/border.cpp +++ b/src/ftxui/dom/border.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include "ftxui/dom/elements.hpp" diff --git a/src/ftxui/dom/color.cpp b/src/ftxui/dom/color.cpp index 1b45c1984..dc2ced280 100644 --- a/src/ftxui/dom/color.cpp +++ b/src/ftxui/dom/color.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/dom/elements.hpp" #include "ftxui/dom/node_decorator.hpp" diff --git a/src/ftxui/dom/composite_decorator.cpp b/src/ftxui/dom/composite_decorator.cpp index c4214efa6..5479fceef 100644 --- a/src/ftxui/dom/composite_decorator.cpp +++ b/src/ftxui/dom/composite_decorator.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/dom/elements.hpp" #include "ftxui/dom/node.hpp" diff --git a/src/ftxui/dom/dbox.cpp b/src/ftxui/dom/dbox.cpp index 50b6641ab..abd7847af 100644 --- a/src/ftxui/dom/dbox.cpp +++ b/src/ftxui/dom/dbox.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include "ftxui/dom/elements.hpp" diff --git a/src/ftxui/dom/dim.cpp b/src/ftxui/dom/dim.cpp index 1845e1ef3..ce1c51bed 100644 --- a/src/ftxui/dom/dim.cpp +++ b/src/ftxui/dom/dim.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/dom/elements.hpp" #include "ftxui/dom/node_decorator.hpp" diff --git a/src/ftxui/dom/flex.cpp b/src/ftxui/dom/flex.cpp index a12496bf2..b6bd879fb 100644 --- a/src/ftxui/dom/flex.cpp +++ b/src/ftxui/dom/flex.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/dom/elements.hpp" #include "ftxui/dom/node.hpp" diff --git a/src/ftxui/dom/frame.cpp b/src/ftxui/dom/frame.cpp index c215775c1..5ea53ab9d 100644 --- a/src/ftxui/dom/frame.cpp +++ b/src/ftxui/dom/frame.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include "ftxui/dom/elements.hpp" diff --git a/src/ftxui/dom/gauge.cpp b/src/ftxui/dom/gauge.cpp index 588cbe0b6..494c22716 100644 --- a/src/ftxui/dom/gauge.cpp +++ b/src/ftxui/dom/gauge.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/dom/elements.hpp" #include "ftxui/dom/node.hpp" diff --git a/src/ftxui/dom/gauge_test.cpp b/src/ftxui/dom/gauge_test.cpp index 328b0579b..0e702a752 100644 --- a/src/ftxui/dom/gauge_test.cpp +++ b/src/ftxui/dom/gauge_test.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/dom/elements.hpp" #include "ftxui/screen/screen.hpp" #include "gtest/gtest.h" diff --git a/src/ftxui/dom/graph.cpp b/src/ftxui/dom/graph.cpp index 520dd38cf..e466ac80e 100644 --- a/src/ftxui/dom/graph.cpp +++ b/src/ftxui/dom/graph.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/dom/elements.hpp" namespace ftxui { diff --git a/src/ftxui/dom/hbox.cpp b/src/ftxui/dom/hbox.cpp index efc0a3f8a..8bd5f6a73 100644 --- a/src/ftxui/dom/hbox.cpp +++ b/src/ftxui/dom/hbox.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include "ftxui/dom/elements.hpp" diff --git a/src/ftxui/dom/hbox_test.cpp b/src/ftxui/dom/hbox_test.cpp index bca1c196e..7c7ac1651 100644 --- a/src/ftxui/dom/hbox_test.cpp +++ b/src/ftxui/dom/hbox_test.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/dom/elements.hpp" #include "ftxui/screen/screen.hpp" #include "gtest/gtest.h" diff --git a/src/ftxui/dom/hflow.cpp b/src/ftxui/dom/hflow.cpp index 3aacf62ff..7bb068c84 100644 --- a/src/ftxui/dom/hflow.cpp +++ b/src/ftxui/dom/hflow.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include "ftxui/dom/elements.hpp" diff --git a/src/ftxui/dom/inverted.cpp b/src/ftxui/dom/inverted.cpp index c0a34f804..f3149d580 100644 --- a/src/ftxui/dom/inverted.cpp +++ b/src/ftxui/dom/inverted.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/dom/elements.hpp" #include "ftxui/dom/node_decorator.hpp" diff --git a/src/ftxui/dom/node.cpp b/src/ftxui/dom/node.cpp index a5cb1a4fd..c9da8647c 100644 --- a/src/ftxui/dom/node.cpp +++ b/src/ftxui/dom/node.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/dom/node.hpp" namespace ftxui { diff --git a/src/ftxui/dom/node_decorator.cpp b/src/ftxui/dom/node_decorator.cpp index f690e572a..f62c91870 100644 --- a/src/ftxui/dom/node_decorator.cpp +++ b/src/ftxui/dom/node_decorator.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/dom/node_decorator.hpp" namespace ftxui { diff --git a/src/ftxui/dom/node_decorator.hpp b/src/ftxui/dom/node_decorator.hpp index 1b7dae70e..83679ac69 100644 --- a/src/ftxui/dom/node_decorator.hpp +++ b/src/ftxui/dom/node_decorator.hpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #ifndef FTXUI_DOM_NODE_DECORATOR_H_ #define FTXUI_DOM_NODE_DECORATOR_H_ diff --git a/src/ftxui/dom/paragraph.cpp b/src/ftxui/dom/paragraph.cpp index 220705d1a..2c5d9cf3c 100644 --- a/src/ftxui/dom/paragraph.cpp +++ b/src/ftxui/dom/paragraph.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include "ftxui/dom/elements.hpp" diff --git a/src/ftxui/dom/separator.cpp b/src/ftxui/dom/separator.cpp index 0c863272b..5c9f48b10 100644 --- a/src/ftxui/dom/separator.cpp +++ b/src/ftxui/dom/separator.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/dom/node.hpp" namespace ftxui { diff --git a/src/ftxui/dom/size.cpp b/src/ftxui/dom/size.cpp index d5a167a87..b0af31237 100644 --- a/src/ftxui/dom/size.cpp +++ b/src/ftxui/dom/size.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include "ftxui/dom/elements.hpp" diff --git a/src/ftxui/dom/spinner.cpp b/src/ftxui/dom/spinner.cpp index e4f0c3c93..d90577e39 100644 --- a/src/ftxui/dom/spinner.cpp +++ b/src/ftxui/dom/spinner.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/dom/elements.hpp" #include "ftxui/dom/node.hpp" diff --git a/src/ftxui/dom/text.cpp b/src/ftxui/dom/text.cpp index e58a1e179..7b797d12d 100644 --- a/src/ftxui/dom/text.cpp +++ b/src/ftxui/dom/text.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/dom/node.hpp" #include "ftxui/screen/string.hpp" diff --git a/src/ftxui/dom/text_test.cpp b/src/ftxui/dom/text_test.cpp index c1d99f6d2..f8616e22b 100644 --- a/src/ftxui/dom/text_test.cpp +++ b/src/ftxui/dom/text_test.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/dom/elements.hpp" #include "ftxui/screen/screen.hpp" #include "gtest/gtest.h" diff --git a/src/ftxui/dom/underlined.cpp b/src/ftxui/dom/underlined.cpp index 9870cfc90..edded6a18 100644 --- a/src/ftxui/dom/underlined.cpp +++ b/src/ftxui/dom/underlined.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/dom/elements.hpp" #include "ftxui/dom/node_decorator.hpp" diff --git a/src/ftxui/dom/util.cpp b/src/ftxui/dom/util.cpp index febb4cf1e..d5f467252 100644 --- a/src/ftxui/dom/util.cpp +++ b/src/ftxui/dom/util.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/dom/elements.hpp" namespace ftxui { diff --git a/src/ftxui/dom/vbox.cpp b/src/ftxui/dom/vbox.cpp index 25e069792..b355171f7 100644 --- a/src/ftxui/dom/vbox.cpp +++ b/src/ftxui/dom/vbox.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include #include diff --git a/src/ftxui/dom/vbox_test.cpp b/src/ftxui/dom/vbox_test.cpp index 3da7784f6..124580682 100644 --- a/src/ftxui/dom/vbox_test.cpp +++ b/src/ftxui/dom/vbox_test.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/dom/elements.hpp" #include "ftxui/screen/screen.hpp" #include "gtest/gtest.h" diff --git a/src/ftxui/screen/box.cpp b/src/ftxui/screen/box.cpp index baf0f4675..05f5a2930 100644 --- a/src/ftxui/screen/box.cpp +++ b/src/ftxui/screen/box.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/screen/box.hpp" #include diff --git a/src/ftxui/screen/screen.cpp b/src/ftxui/screen/screen.cpp index 42e46c0e7..17450226e 100644 --- a/src/ftxui/screen/screen.cpp +++ b/src/ftxui/screen/screen.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/screen/screen.hpp" #include diff --git a/src/ftxui/screen/string.cpp b/src/ftxui/screen/string.cpp index 46a029e22..8cf4c912c 100644 --- a/src/ftxui/screen/string.cpp +++ b/src/ftxui/screen/string.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/screen/string.hpp" #include diff --git a/src/ftxui/screen/terminal.cpp b/src/ftxui/screen/terminal.cpp index 0598667e2..2c5f07f15 100644 --- a/src/ftxui/screen/terminal.cpp +++ b/src/ftxui/screen/terminal.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #include "ftxui/screen/terminal.hpp" #include diff --git a/src/ftxui/screen/terminal.hpp b/src/ftxui/screen/terminal.hpp index 2310bacf7..8e2959637 100644 --- a/src/ftxui/screen/terminal.hpp +++ b/src/ftxui/screen/terminal.hpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + #ifndef FTXUI_CORE_TERMINAL_HPP #define FTXUI_CORE_TERMINAL_HPP diff --git a/src/ftxui/screen/wcwidth.cpp b/src/ftxui/screen/wcwidth.cpp index b47edb1c2..0e6995942 100644 --- a/src/ftxui/screen/wcwidth.cpp +++ b/src/ftxui/screen/wcwidth.cpp @@ -1,3 +1,7 @@ +// Copyright 2020 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. + /* * This is an implementation of wcwidth() and wcswidth() (defined in * IEEE Std 1002.1-2001) for Unicode.