1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-27 02:25:28 +03:00
wezterm/termwiz/src
Wez Furlong ff153ba27f vtparse: recognize utf8 encoded c1 codes in more cases
There were two bugs here:

* \u8D (the utf8 encoded representation of 0x8d, aka: RI) was not
  recognized as a C1 code and was instead passed through as printable
  text.
* The \u8D is a zero-width sequence which means that a subsequent
  set_cell call on the new empty-by-default line wouldn't allocate
  any cells in the line array, and the assigment to the line would
  panic.

This commit avoids the panic for the second case, and then fixes up
the vtparser to correctly recognize the sequence as a C1 control.

refs: https://github.com/wez/wezterm/issues/768
2021-05-08 00:39:29 -07:00
..
caps termwiz: revert tmux workarounds 2021-03-12 08:20:01 -08:00
escape parse and respond to XTSMGRAPHICS queries 2021-04-01 22:42:28 -07:00
lineedit termwiz: Remove anyhow::Result from public API 2021-01-08 00:32:30 -08:00
render termwiz: do not use terminfo for unsupported 256-colors 2021-04-09 08:04:55 -07:00
surface vtparse: recognize utf8 encoded c1 codes in more cases 2021-05-08 00:39:29 -07:00
terminal termwiz: really fixup windows build 2021-01-08 09:33:08 -08:00
widgets termwiz: Remove anyhow::Result from public API 2021-01-08 00:32:30 -08:00
cell.rs micro-optimize clustering 2021-04-28 08:25:07 -07:00
cellcluster.rs micro-optimize clustering 2021-04-28 08:25:07 -07:00
color.rs lint: remove redundant semicolons 2021-03-25 09:44:27 -07:00
error.rs termwiz: Remove anyhow::Result from public API 2021-01-08 00:32:30 -08:00
hyperlink.rs lua: add window::effective_config() method 2021-02-27 12:39:22 -08:00
image.rs avoid excess capacity when dealing with iterm2 image protocol 2021-03-13 08:10:48 -08:00
input.rs lint: fix some clippy stuff 2021-03-25 10:05:34 -07:00
istty.rs remove some extern crates 2019-05-26 08:27:43 -07:00
keymap.rs clippy 2019-02-24 12:01:08 -08:00
lib.rs termwiz: Remove anyhow::Result from public API 2021-01-08 00:32:30 -08:00
macros.rs termwiz: do not depend on derive_builder 2020-02-11 07:45:50 -08:00
readbuf.rs restructure termwiz tree prior to merging into wezterm repo 2018-08-05 07:55:30 -07:00
rgb.txt Remove dep on palette for resolving color names 2020-02-07 08:58:53 -08:00