diff --git a/examples/component/checkbox.cpp b/examples/component/checkbox.cpp index 7b3fba40..c63de283 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 b0eb5e9a..aa66be72 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 dc6bf556..360938c8 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 10abfd1e..b92856ed 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 cfe5aa7a..269fc1bf 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 43afd461..db8b96f4 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 d0788558..daf32035 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 ae3e4ae3..433c2349 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 8a9dd7e2..46e106d8 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 7bcb2066..ae40ac36 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 d827505f..77e689f8 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 3fc48043..c8ad6898 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 6dc185a4..3844a596 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 0211d64f..837f2196 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 698af03f..742c58ac 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 098137a3..71684e67 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 e6d43c87..d59f9f61 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 99f2b419..cc2fd070 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 318fde5b..8b52a57f 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 e3b99b4f..fb6719fd 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 614e6893..8b2da83e 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 8e69fa92..16f10f48 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 ec3cfe08..3cb9da6d 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 cf26e704..70c73db8 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 a170d774..5db769ad 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 faf13b18..bc33097f 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 8d87eafe..06151bd5 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 eeee5af5..38e88a06 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 4715baa8..c67a7fe4 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 0fc599d7..1395100b 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 9175c5c1..0f018410 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 0d558125..45adfc5c 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 dc8c968c..86442ef3 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 7428e532..1dcffeac 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 c68ca667..bd739f61 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 51395ed3..70fde164 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 d02e9e08..f24082ee 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 f0c3245f..712696f8 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 ca38ffdd..91a709b9 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 1f15a7ec..a938b1b7 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 e0ba5bb0..e1a1c2cc 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 3e0426bf..7b9b75b9 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 e93e4b34..9747d6cd 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 6a6828d2..82d534cb 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 f54e6de9..2b8e34d0 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 f2f74124..701959c9 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 e5db345e..8de009b5 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 e020b642..aaa9f456 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 b895fa85..d518bb02 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 b53956cf..a5cacef6 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 1a1785ad..b904f41b 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 c371f039..aa09c000 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 00000000..e8b31407 --- /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 00000000..81c04074 --- /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 6e88987d..86e5dfb9 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 e194138e..fa07cc14 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 b4b26c5c..1fdb47e0 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 bcab985d..a8c6e6b3 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 a4c08df7..f595846d 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 ac3baa4f..f5d6f63b 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 e949552c..321edbb7 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 d0982108..6e89d956 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 593cacd9..22a75660 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 53056310..7cdd513f 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 ff29ccf6..3eef2262 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 8586f705..84037771 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 c806c9d0..c9692d1b 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 89b4e0eb..4fa58e6a 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 175b9011..ae40c4e0 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 7ef1b6eb..2ce26306 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 1b45c198..dc2ced28 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 c4214efa..5479fcee 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 50b6641a..abd7847a 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 1845e1ef..ce1c51be 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 a12496bf..b6bd879f 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 c215775c..5ea53ab9 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 588cbe0b..494c2271 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 328b0579..0e702a75 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 520dd38c..e466ac80 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 efc0a3f8..8bd5f6a7 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 bca1c196..7c7ac165 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 3aacf62f..7bb068c8 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 c0a34f80..f3149d58 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 a5cb1a4f..c9da8647 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 f690e572..f62c9187 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 1b7dae70..83679ac6 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 220705d1..2c5d9cf3 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 0c863272..5c9f48b1 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 d5a167a8..b0af3123 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 e4f0c3c9..d90577e3 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 e58a1e17..7b797d12 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 c1d99f6d..f8616e22 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 9870cfc9..edded6a1 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 febb4cf1..d5f46725 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 25e06979..b355171f 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 3da7784f..12458068 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 baf0f467..05f5a293 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 42e46c0e..17450226 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 46a029e2..8cf4c912 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 0598667e..2c5f07f1 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 2310bacf..8e295963 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 b47edb1c..0e699594 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.