Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL behaviour #42

Open
fluxion-t opened this issue Jan 20, 2022 · 2 comments
Open

URL behaviour #42

fluxion-t opened this issue Jan 20, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@fluxion-t
Copy link

  1. Short URL's:

When having a short URL (meaning it fits in one line on the screen) and placing the cursor above, the URL becomes underlined and the cursor changes its icon suggesting that I can click on the URL. However, when I click on it, nothing happens.

Clicking with the right button does not give options either.

I cannot select its text either with the mouse. In fact, I cannot select any text, either from URL or not.

Fortunately, with a multiplexer, like Screen, I can easily select the text from the URL and paste it elsewhere.

  1. Long URL's:

Long URL's (meaning they don't fit in one line) suffer from the same problems above, with one addition. When placing the cursor above, it underlines just the first line, ignoring what there is on the next line(s).

In this case, not even the text selection from the multiplexer will work, since Screen will select a lot of blank space between the two pieces.

My system is Ubuntu 21.04 with xfce4-terminal.

I would suggest a command-like approach, like /url with two arguments, the first could be "open" or "save", and the second could be the URL's present in the chat, with autocompletion when pressing TAB (as XMPP's Profanity client does).

Many thanks

@adbenitez
Copy link
Owner

I think the URL highlighting is a feature from your Terminal app, and to open them you just have to press Ctrl + clicking the URL

@adbenitez
Copy link
Owner

for example, opening a txt file with some long links inside Midnight Commander application, I can open the links with ctrl + click but for links that are truncated in the end of the screen and continue in the next line, are wrongly highlighted and when clicked the URL is truncated so that is a problem of the Terminal app not detecting them correctly,

to avoid this, a way to copy and open the links inside Cursed Delta must be implemented

@adbenitez adbenitez added the enhancement New feature or request label May 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants