Wez Furlong 9397f2a2db wezterm: allow overriding the default open-uri event
This builds on the new lua event handler plumbing added
in ccea650a93 to co-opt
the default URI opening action:

```lua
wezterm.on("open-uri", function(uri)
  if uri:find("jira") then
    wezterm.log_error("do something with jira")
    wezterm.run_child_process({
      "wezterm",
      "start",
      "--",
      "jira",
      "view",
      extract_task_from_uri(uri)
    })
    -- prevent the default action from opening in a browser
    return false
  else
    -- log but allow the uri to be opened in the browser
    wezterm.log_error("clicken " .. uri)
  end
end)
```

This doesn't allow exactly the sketched out option from
issue #223 to be implemented, but may be close enough
to be useful.

refs: #223
refs: #225
2020-10-07 18:26:16 -07:00
2020-07-05 09:40:52 -07:00
2020-10-04 21:47:12 -07:00
2019-06-08 21:28:11 -07:00
2020-10-04 21:47:12 -07:00
2020-08-29 10:03:07 -07:00
2020-10-06 18:34:29 -07:00
2020-10-06 13:42:51 -07:00
2020-10-05 08:50:29 -07:00
2020-10-03 11:15:57 -07:00
2020-06-09 09:03:08 -07:00
2020-10-03 11:15:57 -07:00
2020-06-13 08:00:43 -07:00
2020-10-05 11:57:27 -07:00
2020-10-06 09:53:45 -07:00
2020-07-05 09:40:52 -07:00
2020-09-09 00:18:26 -07:00
2020-06-16 22:16:56 -07:00
2019-03-22 20:41:50 -07:00

Wez's Terminal

A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust

User facing home page at: https://wezfurlong.org/wezterm/

Screenshot

Screenshot of wezterm on macOS, running vim

Installation

https://wezfurlong.org/wezterm/installation.html

Getting help

This is a spare time project, so please bear with me. There are two channels for support:

The Matrix/Gitter room is probably better suited to questions than it is to bug reports, but don't be afraid to use whichever you are most comfortable using and we'll work it out.

S
Description
The agentic terminal: a WezTerm fork with LLeMbas built in
Readme MIT
316 MiB
0 Stars 2 Watchers 0 Forks
Languages
Rust 97.7%
Python 1%
Shell 0.9%
Nix 0.2%