1
1
mirror of https://github.com/wez/wezterm.git synced 2024-09-21 03:39:16 +03:00
Commit Graph

145 Commits

Author SHA1 Message Date
Wez Furlong
46111c1cdb docs: fix config link 2020-06-16 16:07:39 -07:00
Wez Furlong
d9f84da6ec fonts: fix second parameter of wezterm.font
The following configuration now works as intended:

```lua
local wezterm = require 'wezterm';
return {
  -- font = wezterm.font('JetBrains Mono'),
  font_rules = {
    {
      italic = false,
      intensity = "Normal",
      font = wezterm.font("JetBrains Mono"),
    },
    {
      italic = true,
      font = wezterm.font("JetBrains Mono", {italic=true}),
    },
    {
      intensity = "Bold",
      font = wezterm.font("JetBrains Mono", {bold=true}),
    },
    {
      italic = true,
      intensity = "Bold",
      font = wezterm.font("JetBrains Mono", {bold=true, italic=true}),
    }
  },
}
```
2020-06-16 08:27:35 -07:00
Wez Furlong
2803e8fc58 wezterm: improve left vs right alt behavior on macos
This commit allows distinguishing between left and right alt
modifiers at the window layer.  So far only macos provides
this additional information.

Expand the logic that decides whether Alt should emit the
composed key or act as the raw key with the Alt modifier flag
set so that we can set that behavior separately for the left
and right modifiers on systems that support it, and use the
existing config for systems that don't support it.

The default settings for these flags is that Left Alt will
send the uncomposed key + Alt modifier while the Right Alt
will behave more like AltGr (which is typically on the RHS
of the keyboard) and send the composed key.

This gives more flexibility by default and hopefully matches
expectations a bit better.

refs: https://github.com/wez/wezterm/issues/216
2020-06-13 22:45:13 -07:00
Wez Furlong
8250f9e4cf wezterm: set a reasonable default LANG on macos
If LANG isn't set then ask NSLocale for the language and country code
and see if we can conjure up a valid UTF-8 locale name.  If so,
export that in the LANG environment for our children to inherit.

refs: https://github.com/wez/wezterm/issues/220
refs: https://github.com/wez/wezterm/issues/216
2020-06-13 20:41:52 -07:00
Wez Furlong
6959717e37 wezterm: use_ime now defaults to false
The weird key repeat behavior and other occasional warts
mean that this should probably be disabled by default.

refs: https://github.com/wez/wezterm/issues/215
2020-06-13 15:02:42 -07:00
Wez Furlong
b373f0d774 docs: tweak feature page 2020-06-13 10:50:02 -07:00
Wez Furlong
ce0797b68b docs: add note about brew install --HEAD wezterm 2020-06-11 21:05:55 -07:00
Wez Furlong
9e66d16b20 docs: add note about sixel graphics to changelog
refs: https://github.com/wez/wezterm/issues/217
2020-06-11 08:14:58 -07:00
Wez Furlong
9f1303fb8e term: fixup ctrl+ ambiguous ctrl code representation
This was originally intended to be swept in and dealt with as part of
adopting CSI-u (refs: https://github.com/wez/wezterm/issues/63) but the
default shift-space mapping is super irritating in vim (refs:
https://github.com/wez/wezterm/issues/126) so it got partially walked
back, but as a consequence we accidentally dropped the modifiers from
those keys (refs: https://github.com/wez/wezterm/issues/213 refs:
https://github.com/wez/wezterm/issues/214).

This commit restores the modifiers for that case.

In addition, since we now have a way to plumb configuration directly
into the term crate, this adds a config option to enable CSI-u for those
that want to use it.
2020-06-10 17:07:30 -07:00
Wez Furlong
d047cfe1e9 docs: tweak aur table 2020-06-07 15:18:13 -07:00
Wez Furlong
8008f195c5 docs: add stable setup.exe link, tweak aur table 2020-06-07 14:52:40 -07:00
Wez Furlong
566449b419 docs: update to latest tag from today 2020-06-07 14:47:55 -07:00
Wez Furlong
25eaa72861 docs: add brew and AUR
closes: https://github.com/wez/wezterm/issues/208
closes: https://github.com/wez/wezterm/issues/209
2020-06-07 14:45:45 -07:00
Wez Furlong
4d6aae26e4 docs: update for todays tagged release 2020-06-07 14:34:16 -07:00
Wez Furlong
bb5ee76296 docs: fix another typo 2020-06-06 12:01:02 -07:00
Wez Furlong
9e493fa0ef docs: fix typo 2020-06-06 10:14:30 -07:00
Wez Furlong
cadbb6fbb5 docs: add note about open wezterm here in explorer.exe 2020-06-05 08:56:07 -07:00
Wez Furlong
60d579b00f docs: fixup typo 2020-06-05 08:54:16 -07:00
Wez Furlong
62cd4665d2 wezterm: search mode: add PageUp + PageDown
These move one page at a time, which is useful when there are a lot
of matches in a given page.

refs: https://github.com/wez/wezterm/issues/91
2020-06-05 08:50:38 -07:00
Wez Furlong
47ca722456 docs: a couple of tweaks 2020-06-05 08:19:23 -07:00
Wez Furlong
0399ecb340 wezterm: add docs for copy mode 2020-06-05 08:07:46 -07:00
Wez Furlong
c5f270f48b wezterm: windows: automatically add WSL entries to the launcher menu
This feels like a better out of the box experience.
The list can be disabled through the config if desired.
2020-06-05 07:25:35 -07:00
Wez Furlong
970db64314 docs: fix typo 2020-06-03 08:48:37 -07:00
Wez Furlong
5ed6324572 docs: bleh, missed fixing a link 2020-05-30 11:40:27 -07:00
Wez Furlong
5ed9c49a85 docs: add section on scrollback and search 2020-05-30 11:35:53 -07:00
Wez Furlong
d6a5d1c835 docs: split install page into pages by platform 2020-05-30 10:30:32 -07:00
Wez Furlong
d361b8a7c5 wezterm: add DisableDefaultAssignment action
Similar to Nop but allows the key press to pass through to
the underlying tab.

Expand docs to clarify how these two actions work.
2020-05-30 06:56:22 -07:00
Wez Furlong
191a67bc9f docs: add hide_tab_bar_if_only_one_tab option to docs 2020-05-29 19:18:32 -07:00
Wez Furlong
02dfe53186 docs: revise changelog entry for search 2020-05-29 09:25:34 -07:00
Wez Furlong
acd016cdd4 wezterm: send_composed_key_when_alt_is_pressed now defaults true
This should make our behavior more consistent with other terminal
emulators on macOS.

closes https://github.com/wez/wezterm/issues/158
2020-05-28 19:54:13 -07:00
Wez Furlong
2f6d72899f wezterm: search: ctrl-n, ctrl-p to move through search results
refs: https://github.com/wez/wezterm/issues/91
2020-05-28 06:55:27 -07:00
Wez Furlong
c1c6ef6ddb Add scrollback search function
For the moment this is basic case sensitive substring matching,
but it is extensible to case insentive and regex matching.

refs: https://github.com/wez/wezterm/issues/91
refs: https://github.com/wez/wezterm/issues/106
2020-05-27 18:19:22 -07:00
Wez Furlong
b8acbac113 wezterm: add ClearScrollback key assignment
Bound to CMD-K and CTRL+SHIFT-K by default.  This also functions
while the output is filling up (eg: `find /` and hit the key binding
to keep pruning the scrollback).

closes: https://github.com/wez/wezterm/issues/194
2020-05-25 17:29:22 -07:00
Wez Furlong
1e373c39c9 docs: add stable ubuntu 20 deb to download list 2020-05-25 12:58:38 -07:00
Wez Furlong
f57338edc7 docs: update for setup.exe installer 2020-05-25 12:52:06 -07:00
Wez Furlong
b8738c769d docs: ratelimit_output_bytes_per_second default value was incorrect 2020-05-24 07:29:14 -07:00
Wez Furlong
e06286252a docs: fix install -> config links
refs: https://github.com/wez/wezterm/issues/191
2020-05-23 08:12:50 -07:00
Wez Furlong
6d007712bd wezterm: enable mouse binding assignments
This commit caps hooks up the mouse event plumbing to the config
system and enables mouse button event bindings.

closes: https://github.com/wez/wezterm/issues/119
2020-05-22 08:05:59 -07:00
Wez Furlong
4f92c82734 docs: update key binding assignment docs 2020-05-21 23:09:57 -07:00
Wez Furlong
57d270cae0 wezterm: add PastePrimarySelection key assignment
refs: https://github.com/wez/wezterm/issues/183
2020-05-21 08:46:56 -07:00
Wez Furlong
f6743086ac wezterm: remove KeyAction toml translation helper
Now that the toml file support is removed, we can directly
express the key actions as enum variants so remove this
intermediate type and use the enum directly.
2020-05-21 08:46:40 -07:00
Wez Furlong
448fa084a9 wezterm: remove old TOML config file loading 2020-05-21 08:46:40 -07:00
Wez Furlong
fa86850a85 Add note about AltGr to changelog
refs: https://github.com/wez/wezterm/issues/185
2020-05-20 22:14:49 -07:00
Wez Furlong
81683bd898 docs: fixup latest tag in the docs 2020-05-17 12:34:07 -07:00
Wez Furlong
92c201c657 wezterm: release 20200517-122836
* AppImage: Support looking for configuration in `WezTerm.AppImage.config` and
  `WezTerm.AppImage.home` to support portable thumbdrive use of wezterm on
  linux systems
* We now check the github releases section for updated stable releases and show
  a simple UI to let you know about the update, with links to download/install
  it.  We don't automatically download the release: just make a small REST API
  call to github.  There is no data collection performed by the wezterm project
  as part of this.  We check once every 24 hours.  You can set
  `check_for_updates = false` in your config to disable this completely if
  desired, or set `check_for_updates_interval_seconds` to an alternative update
  interval.
* Added support for OSC 110-119 to reset dynamic colors, improving our support for Neovim.
* Change OSC rendering to use the long-form `ST` sequence `ESC \` rather than
  the more convenient alternative `BEL` representation, which was not
  recognized by Neovim when querying for color information.
* Fixed Shift-Tab key on X11 and Wayland
* WezTerm is now also available to Windows users via [Scoop](https://scoop.sh/)
2020-05-17 12:31:03 -07:00
Wez Furlong
c45ab2ddd9 Add note about shift-tab fix 2020-05-17 11:57:33 -07:00
Wez Furlong
4eee0f01fa changelog: remove the section about X11 selection
it was reverted, so no longer applies!
2020-05-16 15:56:19 -07:00
Wez Furlong
91339d6d17 docs: add note about available in Scoop 2020-05-16 12:56:38 -07:00
Wez Furlong
72d04597d4 update changelog 2020-05-16 12:45:20 -07:00
Wez Furlong
d740281fde docs: move appimage ahead of other linux instructions 2020-05-04 22:01:12 -07:00