Giter Site home page Giter Site logo

Comments (6)

withinboredom avatar withinboredom commented on June 27, 2024 1

Whether links are clickable depends on the terminal application you are using. In Windows, if you are using Terminal, you have to ctrl-click to open a link in the browser. On Linux, it is the same with Tilex or most terminal applications.

If you are using the old style terminal in windows, it doesn't support opening links via clicks IIRC. I don't even know how to get to it anymore, so I can't easily test it.

from termwind.

xiCO2k avatar xiCO2k commented on June 27, 2024

can you share a printscreen? and the HTML provided?

from termwind.

2rkmen avatar 2rkmen commented on June 27, 2024

i use it in laravel zero

    public function handle()
    {
        render(<<<'HTML'
            <p>
                This is a CLI app built with Termwind. <a href="/">Click here to open</a>
            </p>
        HTML);
    }

image

from termwind.

xiCO2k avatar xiCO2k commented on June 27, 2024

It maybe a problem with symfony/console, can you try this, and let me know if it works?

use Symfony\Component\Console\Output\ConsoleOutput;

(new ConsoleOutput())->write('<href=http://google.pt>Test</>');

from termwind.

2rkmen avatar 2rkmen commented on June 27, 2024

no. same situation. Links are not clickable on windows command line and wsl

I think this feature not available under windows.
https://stackoverflow.com/questions/62375976/windows-terminal-clickable-urls

Is it work on linux?

from termwind.

2rkmen avatar 2rkmen commented on June 27, 2024

thank you. It works on new terminal

from termwind.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.