Commit Graph
412 Commits
Author SHA1 Message Date
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 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 204d741be7 improve display for unhandled csi 2018-08-04 11:59:20 -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 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 1ec83706e7 use termwiz::Hyperlink 2018-08-04 00:26:24 -07:00
Wez Furlong f37de9cbe5 use termwiz to replace most of the escape parsing 2018-08-03 22:37:04 -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 039eadc05f update rustfmt 2018-07-11 08:30:49 -07:00
Wez Furlong 6efce9943c std::env::home_dir is deprecated, use an alternative 2018-07-11 08:29:11 -07:00
Wez Furlong 8fae5f56a8 remove dead_code marker from some exported constants 2018-07-11 08:14:09 -07:00
Wez Furlong 8b24d34a74 fix panic for large pastes 2018-04-28 21:54:39 -07:00
Wez Furlong b9088bd62d update for rustfmt changes 2018-04-28 21:53:14 -07:00
Wez Furlong d73892a4fd update for recent rustfmt changes
No functional changes
2018-04-11 13:15:12 -07:00
Wez Furlong 57b438f867 Ensure that the TERM variable is set
This is important when being launched directly from the window manager.
2018-04-11 12:04:53 -07:00
Wez Furlong 197819db6d Add basic support for ICH which is used by bash CTRL-R 2018-03-09 22:15:06 -08:00
Wez Furlong 1c4500082f don't accumulate lingering zombies after closing a tab 2018-03-04 19:29:18 -08:00
Wez Furlong 2b822687be resize all tabs when resizing the window 2018-03-04 17:24:19 -08:00
Wez Furlong ff5a3179e1 new windows with Cmd-N 2018-03-04 17:17:37 -08:00
Wez Furlong ddb0055124 Add docs about window and tab hotkeys 2018-03-04 17:10:38 -08:00
Wez Furlong 68bb0e859e Show tab number in title bar when there are tabs 2018-03-04 17:06:06 -08:00
Wez Furlong c5ce3e2621 Add CMD-[0-9] as shortcut for tab switching 2018-03-04 16:52:40 -08:00
Wez Furlong edf44c9c48 We can now spawn and switch tabs! 2018-03-04 16:46:14 -08:00
Wez Furlong cabc6681b6 add tab spawning 2018-03-04 16:27:02 -08:00
Wez Furlong 816925424a add basic tab related key bindings 2018-03-04 13:31:16 -08:00
Wez Furlong eb7153eb50 theoretically deal with a single tab closing on its own 2018-03-04 13:26:40 -08:00
Wez Furlong dfafebebef A window can theoretically now have multiple tabs 2018-03-04 12:47:58 -08:00
Wez Furlong 6c6f4ea39b Each window now has a single Tab 2018-03-04 12:32:20 -08:00
Wez Furlong d571d555f1 impl Evented for XCB Connection 2018-03-04 12:30:43 -08:00
Wez Furlong 88473e5a09 move window/tab/fullscreen related to TerminalHost 2018-03-04 09:13:36 -08:00
Wez Furlong 9affe0ea30 We can now open and safely close multiple windows! 2018-03-04 08:41:40 -08:00
Wez Furlong 6ccf3c98d7 support F-Keys with native xcb code 2018-03-04 07:32:37 -08:00
Wez Furlong 41cfcfdb15 Bring back my original xcb+egl window bits 2018-03-04 07:27:18 -08:00