https://github.com/wez/wezterm/issues/19 is a case where a user
runs in this; it seems particular to their opengl implementation
so I can't reproduce it locally.
@Lompik suggests that this resolves the issue, and it doesn't seem
to hurt, so let's apply it!
on macos we were receiving unicode text in addition to the scan codes.
This is mostly undesirable, except when it's not
(see https://github.com/wez/wezterm/issues/18)
This diff ignores the unicode input stream and manually decodes
the keys from an english keyboard.
This allows choosing between X11 and Glutin, which simplifies some
conditional code and allows some short term flexibility on unix
systems. However, what it really opens up is running a future
headless server mode (think: tmux).
This change comes with the cost of temporarily breaking creating
a new window on x11.
This has a little more structure than the linux specfic
fontconfig_pattern and can be used in a future diff to
derive a fontconfig_pattern.
This is a breaking change for the config file format.
This removes some tricksy code in favor of a third party crate,
which unlocks the clipboard on windows. I'm not sure how well
this will work on the pure x11 impl yet.
@Lompik reports that there are artifacts with certain color combos
and proposes simplifying the color blending by just copying the rgb
channel.
This does look better than what we're currently doing so I see no
reason not to adopt this for now, and we can revisit it later.
Refs: https://github.com/wez/wezterm/issues/17
Back out the scaling calculation portion of
4098931e62, which didn't look right
with italic operator mono and also seemed to mess with glyphs
rendered via rusttype.