Comments (6)
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.
can you share a printscreen? and the HTML provided?
from termwind.
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);
}
from termwind.
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.
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.
thank you. It works on new terminal
from termwind.
Related Issues (20)
- Using `passthru()` produces jumbled output HOT 2
- Styles are not applied on iterm HOT 5
- Line-wrapped / nested elements don't behave as expected HOT 1
- Render unicode entities HOT 1
- Sentry Error on Laravel Vapor
- Flex with padding HOT 1
- Error when running `vendor:publish` in laravel HOT 3
- Is there a way to have a default answer for the ask() methods? HOT 3
- There's no output at all when an artisan call that uses termwind is called within a command that also uses termwind HOT 1
- Supported Colors Listing HOT 1
- Required the support of branching and looping HOT 3
- Fatal Error when running schedule:work HOT 2
- Overwrite previous render HOT 1
- Disable output during tests HOT 4
- [Bug] Console output does not affect `--no-ansi` option HOT 1
- Support for borders? HOT 4
- Add function to just return string output instead of echoing it. HOT 1
- Incorrect spaces count of East Asian characters.
- Missing after the last line space when inheriting the width on more of more than three lines.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from termwind.