1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-18 10:52:16 +03:00
wezterm/wezterm-font/src
Wez Furlong ed731a0d8d Add CharSelect modal for emoji/nerdfont/unicode input
CTRL-SHIFT-U is a new default key assignment for this new modal.
It opens up a fuzzy searchable browser that defaults to showing
emoji/emoticons.  The category can by cycled through the suggested
emoji categories using CTRL-r.  Unlike the system emoji palette,
wezterm includes a category for nerdfont symbols, and another
that is a list of all unicode codepoint names, so you should be
able to browse for pretty much any codepoint you can think of.

The modal also allows fuzzy searching based on:

* The official unicode name
* The github shortcode
* codepoint value in hex

so if you know the codepoint value but not the name, you can
still find a way to input what you're looking for.

Pressing Enter will copy the selected item to the clipboard
send it to the active pane, and cancel the modal. You can therefore
repeat the insert by simply pasting.

I plan to add frecency to this in a later commit: that way the
frequently/recently used selections will show in a category of
their own and make it easier to re-input them.

refs: https://github.com/wez/wezterm/issues/2163
2022-08-31 18:15:28 -07:00
..
locator fonts: allow setting assume_emoji_presentation per font 2022-07-08 21:14:16 -07:00
rasterizer fonts: allow fallback-level scaling factor 2022-03-26 16:37:50 -07:00
shaper fonts: allow setting assume_emoji_presentation per font 2022-07-08 21:14:16 -07:00
db.rs fonts: remember bdfs with multiple sizes found in font_dirs 2022-04-05 20:46:28 -07:00
fcwrap.rs fonts: treat "charcell" spacing as monospace 2022-04-06 08:11:34 -07:00
ftwrap.rs fonts: add freetype_pcf_long_family_names option 2022-06-09 20:09:47 -07:00
hbwrap.rs fonts: allow shaping with additional paragraph context 2022-01-28 17:19:36 -07:00
lib.rs Add CharSelect modal for emoji/nerdfont/unicode input 2022-08-31 18:15:28 -07:00
parser.rs fonts: allow setting assume_emoji_presentation per font 2022-07-08 21:14:16 -07:00
units.rs refactor deps so that window can depend on wezterm-font 2021-06-26 22:58:42 -07:00