1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-28 01:06:37 +03:00
A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
Go to file
Wez Furlong 7fb22d6968 term: correct cursor position after imgcat
I've had a FIXME in here for a while to check the positioning,
but never got around to it.

The onefetch folks have an app that does care about this,
so it's time to resolve it!

This commit adjusts the cursor position for the iterm case
(not the sixel case), and results in both:

running in xterm:

```
onefetch --image ~/Downloads/squirrel.png
```

running in wezterm:

```
TERM_PROGRAM=iTerm.app onefetch --image ~/Downloads/squirrel.png --image-backend=iterm
```

```
onefetch --image ~/Downloads/squirrel.png --image-backend=sixel
```

showing consistent positioning.

refs: https://github.com/wez/wezterm/issues/317
refs: https://github.com/o2sh/onefetch/pull/305
2020-11-02 18:06:05 -08:00
.cargo build static on windows for static openssl linkage 2020-02-02 13:03:07 -08:00
.github ci: set release as pre-release when tagging 2020-10-30 22:09:58 -07:00
assets colors: set cursor border to bg in the color schemes 2020-10-27 09:17:20 -07:00
async_ossl fixup tls mux sessions 2020-10-04 21:47:12 -07:00
base91 dyn everywhere 2019-06-08 21:28:11 -07:00
bintree wezterm: improve pane resize logic 2020-09-27 16:07:08 -07:00
ci ci: add mux-server to brew tap install 2020-10-30 22:20:02 -07:00
codec Change cell api to avoid direct access to hyperlink/image 2020-10-11 13:12:46 -07:00
config wezterm: default inactive_pane_hsb to dim/desaturate 2020-10-30 23:12:35 -07:00
deps fixup win32 build 2020-08-29 10:03:07 -07:00
docs docs: note about #316 2020-11-01 10:36:33 -08:00
env-bootstrap wezterm: add env bootstrap to mux server, too 2020-10-24 23:33:31 -07:00
filedescriptor fix filedescriptor::poll on macos 2020-09-10 13:58:14 -07:00
licenses macOS: bundle and use MetalANGLE to enable Metal rendering 2020-10-17 09:34:01 -07:00
luahelper lua: add GuiWin and PaneObject proxies for use in script 2020-10-09 13:55:36 -07:00
mux split gui into wezterm-gui executable 2020-10-24 16:40:15 -07:00
promise split gui into wezterm-gui executable 2020-10-24 16:40:15 -07:00
pty wezterm: fixup wezterm ssh host 2020-10-31 11:45:30 -07:00
rangeset mux: reintroduce server side state to gate pushes 2020-01-10 08:56:27 -08:00
ratelim move ratelim to its own crate 2020-10-03 11:15:57 -07:00
strip-ansi-escapes move strip-ansi-escapes into its own crate 2020-10-03 11:15:57 -07:00
tabout Change cell api to avoid direct access to hyperlink/image 2020-10-11 13:12:46 -07:00
term term: correct cursor position after imgcat 2020-11-02 18:06:05 -08:00
termwiz lineedit: add a way to render previews 2020-10-29 08:56:30 -07:00
umask Move server to its own wezterm-mux-server binary 2020-10-03 11:15:57 -07:00
vtparse avoid panic if someone cats a PNG to the terminal 2020-10-16 13:09:50 -07:00
wezterm wezterm: add env bootstrap to mux server, too 2020-10-24 23:33:31 -07:00
wezterm-client wezterm: fixup win32 build for wezterm-gui changes 2020-10-24 17:00:07 -07:00
wezterm-font wezterm-font: remove font-kit dep 2020-10-24 22:01:00 -07:00
wezterm-gui wezterm: fixup wezterm ssh host 2020-10-31 11:45:30 -07:00
wezterm-gui-subcommands split gui into wezterm-gui executable 2020-10-24 16:40:15 -07:00
wezterm-mux-server mux: fix initial creation of pid file in mux server 2020-10-29 21:07:49 -07:00
window window: fix potential crash with multiple egl windows on windows 2020-11-01 10:28:17 -08:00
.cirrus.yml ci: moar freebsd 2020-10-06 09:53:45 -07:00
.gitignore docs: add colorschemes + screenshots 2020-10-20 00:40:25 -07:00
.gitmodules fix CI: savannah is down, use a github mirror for freetype 2019-11-24 13:28:02 -08:00
.rustfmt.toml Make rustfmt happy about "async move" 2020-01-20 13:58:21 -08:00
Cargo.lock term: cache recently decoded images 2020-10-25 11:59:44 -07:00
Cargo.toml split gui into wezterm-gui executable 2020-10-24 16:40:15 -07:00
CONTRIBUTING.md Add get-deps script for installing dependencies 2018-02-25 09:24:56 -08:00
get-deps ci: add freebsd CI 2020-09-09 00:18:26 -07:00
LICENSE.md wezterm: bundle JetBrains Mono and Noto Color Emoji fonts 2020-09-29 22:05:18 -07:00
README.md docs: add a bit about contributing 2020-06-16 22:16:56 -07:00
wt-record make it a bit easier to consume wt-record 2020-06-12 08:51:15 -07:00
wt-replay update record/play scripts for macos 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.