Wez Furlong
f07761e1cd
Merge termwiz repo in as a subdir of wezterm
...
Merge commit '376da31'
2018-08-05 07:58:46 -07:00
Wez Furlong
376da31ee4
restructure termwiz tree prior to merging into wezterm repo
2018-08-05 07:55:30 -07:00
Wez Furlong
5482323be5
really fix the erase in display issue
...
We also need an implicit erase in line in the appropriate direction
2018-08-04 23:23:04 -07:00
Wez Furlong
fd148f33e9
allow cycling from tab 0 -> max when using hotkeys
...
We would allow wrapping around the top end of tabs, but not the bottom.
This fixes that.
2018-08-04 22:36:43 -07:00
Wez Furlong
899593745e
fix growing bounds for Line::set_cell
2018-08-04 20:18:02 -07:00
Wez Furlong
e0b6fbfb1f
fix off-by-one for EraseInDisplay
...
We were deleting the current row and below rather than the rows below.
This was the cause of lines going blank during `apt upgrade` runs;
the line just above the bottom would get erased instead of scrolling
up.
I found this by running the termwiz widget demo; the top line was being
erased by mistake.
2018-08-04 19:28:18 -07:00
Wez Furlong
6c1f089f13
buffer processing in Performer::print
...
This helps to accumulate multi-char grapheme sequences into a single
cell.
2018-08-04 19:02:46 -07:00
Wez Furlong
10f0403973
improve encapsulation of Line struct
2018-08-04 18:33:44 -07:00
Wez Furlong
14304a6bd7
skip on the codecov report, add travis badge
2018-08-04 16:12:53 -07:00
Wez Furlong
aac4c8acbe
add travis config
2018-08-04 16:00:51 -07:00
Wez Furlong
381e572700
relax some of the dep requirements
2018-08-04 15:35:38 -07:00
Wez Furlong
efb9acdc84
don't error out if we can't find a glyph
...
Could repro the issue with this little python script:
```
print(u"\ua123HELLO")
```
2018-08-04 15:06:16 -07:00
Wez Furlong
a597a23aef
fix cargo fmt
2018-08-04 14:30:34 -07:00
Wez Furlong
e0cc46fe4f
log unhandled cursor shape sequence
2018-08-04 12:43:15 -07:00
Wez Furlong
7291084a31
parse cursorstyle escape sequence
2018-08-04 12:42:44 -07:00
Wez Furlong
204d741be7
improve display for unhandled csi
2018-08-04 11:59:20 -07:00
Wez Furlong
95b4f57a5b
fixup handling of multiple decsets in a single csi
2018-08-04 11:51:57 -07:00
Wez Furlong
1a4eba3eb9
turns out that we weren't actually using linear rgb here
2018-08-04 11:09:54 -07:00
Wez Furlong
67128704ff
add helper to extract the srgba tuple without converting to linear
2018-08-04 11:07:27 -07:00
Wez Furlong
3252f3a99a
nth time is the charm
2018-08-04 10:58:31 -07:00
Wez Furlong
860cc60519
try again with the cargo fmt logic in travis
2018-08-04 10:51:08 -07:00
Wez Furlong
24207fa369
maybe fix quoting for travis
2018-08-04 10:41:49 -07:00
Wez Furlong
154a228192
don't fail nightly/beta channels due to rustfmt differences
2018-08-04 10:14:48 -07:00
Wez Furlong
b73b41c356
flesh out build matrix
...
We no longer require nightly, so turn on some other channels
2018-08-04 10:00:51 -07:00
Wez Furlong
ea660b2cd5
update cargo fmt invocation for travis
2018-08-04 09:58:40 -07:00
Taron Barber
0ce396f305
add debian support to get-deps
...
Dependency names on Ubuntu and Debian are identical (only tested on stretch.)
2018-08-04 09:50:18 -07:00
Wez Furlong
b7a095ef3f
Update to use termwiz hosted on github
2018-08-04 09:46:46 -07:00
Wez Furlong
472d243a33
cut over to termwiz Cell
2018-08-04 09:35:39 -07:00
Wez Furlong
0fca6fb730
tweaks to support wezterm
2018-08-04 08:50:04 -07:00
Wez Furlong
1ec83706e7
use termwiz::Hyperlink
2018-08-04 00:26:24 -07:00
Wez Furlong
ff009c2f79
allow hyperlink params to be an empty string
2018-08-04 00:25:37 -07:00
Wez Furlong
f37de9cbe5
use termwiz to replace most of the escape parsing
2018-08-03 22:37:04 -07:00
Wez Furlong
1c6b51be46
update rustfmt for 1.28
2018-08-03 22:34:27 -07:00
Wez Furlong
6fc620ce47
port more escape sequences over from wezterm
2018-08-03 22:34:09 -07:00
Wez Furlong
83c5e796ce
apply current cargo fmt
2018-08-03 21:25:55 -07:00
Wez Furlong
e151e825de
simplify rustfmt options
2018-08-02 22:34:19 -07:00
Wez Furlong
3376ae2a6a
add/improve docs
2018-08-02 07:50:57 -07:00
Wez Furlong
4640b735c4
Basic handling of double and zero width graphemes
2018-08-01 21:31:02 -07:00
Wez Furlong
5c76670acd
start making Cell aware of graphemes
2018-08-01 09:35:07 -07:00
Wez Furlong
92d1d63841
add (untested) mouse hit tester
2018-08-01 08:26:01 -07:00
Wez Furlong
db49040d5d
rethink the widget stuff
...
This feels a bit more idiomatic and flexible
2018-08-01 07:56:24 -07:00
Wez Furlong
de38d1aad7
cut over to the new widget bits
2018-07-29 12:45:18 -07:00
Wez Furlong
e71e6d2f5a
start building out alternate widget api
2018-07-29 00:15:14 -07:00
Wez Furlong
3c8adfaf16
use fancier colors in the widget example
2018-07-28 13:21:56 -07:00
Wez Furlong
ed4810b2af
remove debugging code
2018-07-28 12:29:17 -07:00
Wez Furlong
bb609df317
internalizing boxing when creating widgets
2018-07-28 12:28:10 -07:00
Wez Furlong
612ac84454
decode device attributes csi sequence
2018-07-28 10:54:34 -07:00
Wez Furlong
c275146336
add mouse reporting
2018-07-28 07:52:57 -07:00
Wez Furlong
d89814c8ad
add bracketed paste mode
2018-07-27 21:30:49 -07:00
Wez Furlong
2a5721d50a
start a todo section in the readme
2018-07-27 17:46:00 -07:00