mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-15 08:21:03 -04:00
Fix formatting.
This commit is contained in:
parent
1bd8b6f659
commit
682c6fc17c
2 changed files with 6 additions and 7 deletions
|
|
@ -1358,8 +1358,7 @@ e.g. *search-start=none*.
|
|||
Enter URL mode, where all currently visible URLs are tagged with a
|
||||
jump label with a key sequence that will place the URL in the
|
||||
clipboard. If the hint is completed with an uppercase character,
|
||||
the match will also be pasted. Default: _Control+Shift+o_.
|
||||
Default: _none_.
|
||||
the match will also be pasted. Default: _none_.
|
||||
|
||||
*regex-launch*
|
||||
Enter regex mode. This works exactly the same as URL mode; all
|
||||
|
|
|
|||
10
url-mode.c
10
url-mode.c
|
|
@ -160,13 +160,13 @@ activate_url(struct seat *seat, struct terminal *term, const struct url *url,
|
|||
switch (url->action) {
|
||||
case URL_ACTION_COPY:
|
||||
if (paste_url_to_self) {
|
||||
if (term->bracketed_paste)
|
||||
term_to_slave(term, "\033[200~", 6);
|
||||
if (term->bracketed_paste)
|
||||
term_to_slave(term, "\033[200~", 6);
|
||||
|
||||
term_to_slave(term, url_string, strlen(url_string));
|
||||
term_to_slave(term, url_string, strlen(url_string));
|
||||
|
||||
if (term->bracketed_paste)
|
||||
term_to_slave(term, "\033[201~", 6);
|
||||
if (term->bracketed_paste)
|
||||
term_to_slave(term, "\033[201~", 6);
|
||||
}
|
||||
if (text_to_clipboard(seat, term, url_string, seat->kbd.serial)) {
|
||||
/* Now owned by our clipboard “manager” */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue