Commit Graph
24 Commits
Author SHA1 Message Date
Wez Furlong 3a31975f06 Add terminal capabilities struct 2018-07-17 12:00:22 -07:00
Wez Furlong eb7783242e add_changes() to improve efficiency of copy/draw operations 2018-07-16 09:30:44 -07:00
Wez Furlong 60912a4d44 add copy_region method 2018-07-16 08:30:27 -07:00
Wez Furlong 2830da269e Implement screen/region diffing and copying 2018-07-16 08:19:29 -07:00
Wez Furlong 30a549bdab avoid emitting sgr if the attribute bits are unchanged 2018-07-15 20:42:27 -07:00
Wez Furlong 0828e40b15 adopt encode_escape in the renderer
This pulls in the rendering code from the escape sequence parser
module and expands its tests.

Added my compiled xterm terminfo file to make sure that the
test environment is reproducible.
2018-07-15 20:36:51 -07:00
Wez Furlong bb96508634 add support for DECSET and a handful of known modes 2018-07-15 15:08:09 -07:00
Wez Furlong a96e4f29ba Add parsing/encoding for Esc sequences (non-CSI, non-OSC) 2018-07-15 14:17:22 -07:00
Wez Furlong f692a6809a Add some OSC parsing/encoding 2018-07-15 11:13:43 -07:00
Wez Furlong 4fae1ea3af simplify CSI parsing 2018-07-15 08:59:57 -07:00
Wez Furlong 0637c73f1d improve compat/utility when converting params to 1-based values 2018-07-15 07:11:56 -07:00
Wez Furlong 6ba8de63f2 add some edit related CSI sequences 2018-07-14 23:39:17 -07:00
Wez Furlong 39875b8948 Add cursor codes 2018-07-14 22:12:06 -07:00
Wez Furlong f585b40ea0 Add a way to (re-)encode parsed data as escape sequences 2018-07-14 18:16:12 -07:00
Wez Furlong 60b19aa6b4 add plumbing for escape sequence parsing 2018-07-14 16:27:42 -07:00
Wez Furlong ca7c22ce74 End end relative positioning, untested for now 2018-07-14 08:10:56 -07:00
Wez Furlong 666af3ff3e sketch out the interface for two future functions 2018-07-14 08:00:50 -07:00
Wez Furlong c63d17b1cc interpret CRLF in Text Change entries 2018-07-13 21:15:52 -07:00
Wez Furlong a9bb29dde1 Initial work on the render concept 2018-07-13 20:58:53 -07:00
Wez Furlong e11156abaa Ensure that the cursor pos is well defined after resize 2018-07-12 21:14:49 -07:00
Wez Furlong 1361c2ce61 invalidate Change stream on resize 2018-07-12 20:42:27 -07:00
Wez Furlong c2acc333b1 add ability to flush the change stream 2018-07-12 20:07:47 -07:00
Wez Furlong d889168001 construct Change streams 2018-07-12 09:05:46 -07:00
Wez Furlong e547f8c504 start building out the terminal model
This is influenced by my code in wezterm
2018-07-12 07:26:37 -07:00