examples/dom/style_hyperlink.cpp

    //Copyright2020ArthurSonzogni.Allrightsreserved.
    //UseofthissourcecodeisgovernedbytheMITlicensethatcanbefoundin
    //theLICENSEfile.
    #include<ftxui/dom/elements.hpp>//fortext,operator|,bold,Fit,hbox,Element
    #include<ftxui/screen/screen.hpp>//forFull,Screen
    #include<memory>//forallocator

    #include"ftxui/dom/node.hpp"//forRender
    #include"ftxui/screen/color.hpp"//forftxui

    intmain(){
    usingnamespaceftxui;
    autodocument=//
    hbox({
    text("Thistextisan"),
    text("hyperlink")|hyperlink("https://www.google.com"),
    text(".Doyoulikeit?"),
    });
    autoscreen=Screen::Create(Dimension::Full(),Dimension::Fit(document));
    Render(screen,document);
    screen.Print();

    return0;
    }