mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-18 17:18:08 +08:00
Add a doxygen documentation.
This commit is contained in:

committed by
Arthur Sonzogni

parent
5f15b2881e
commit
20b9a0f0f5
@@ -7,6 +7,7 @@
|
||||
#include <codecvt>
|
||||
#include <locale>
|
||||
|
||||
namespace ftxui {
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable : 4996) // codecvt_utf8_utf16 is deprecated
|
||||
@@ -24,4 +25,6 @@ std::wstring to_wstring(const std::string& s) {
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
} // namespace ftxui
|
||||
|
@@ -67,6 +67,8 @@
|
||||
|
||||
#include "ftxui/screen/string.hpp"
|
||||
|
||||
namespace ftxui {
|
||||
|
||||
namespace {
|
||||
struct interval {
|
||||
int first;
|
||||
@@ -303,3 +305,5 @@ int wstring_width_cjk(const std::wstring& text) {
|
||||
}
|
||||
return width;
|
||||
}
|
||||
|
||||
} // namespace ftxui
|
||||
|
Reference in New Issue
Block a user