Commit Graph

  • 2c0fbfccc6 implement CUD, CUU Mitchell Hashimoto 2022-05-10 19:42:00 -07:00
  • 46d160cfdd terminal doesn't need parser anymore Mitchell Hashimoto 2022-05-10 19:34:14 -07:00
  • e26352529e move stream handling into the Window Mitchell Hashimoto 2022-05-10 19:31:32 -07:00
  • e172cffd4d modify terminal tests to avoid append Mitchell Hashimoto 2022-05-10 19:06:50 -07:00
  • bc7b3a0996 terminal: start pulling out stream processing into dedicated type Mitchell Hashimoto 2022-05-10 19:01:32 -07:00
  • de7d950052 terminal: move tests into main Mitchell Hashimoto 2022-05-10 14:40:37 -07:00
  • 6589a47352 send esc Mitchell Hashimoto 2022-05-10 14:13:59 -07:00
  • 1e8e80ed7b osc: change window title with code 2 Mitchell Hashimoto 2022-05-10 14:12:35 -07:00
  • daa0368319 parse DCS sequences (but do nothing) Mitchell Hashimoto 2022-05-10 14:09:24 -07:00
  • 28b3ac52e9 osc: reset_cursor_color Mitchell Hashimoto 2022-05-10 12:15:35 -07:00
  • b585fe463d osc parser temporary state changed to union Mitchell Hashimoto 2022-05-10 12:10:44 -07:00
  • eee837f69b osc: prompt_end Mitchell Hashimoto 2022-05-10 11:57:42 -07:00
  • 92805f57b0 osc: end of command Mitchell Hashimoto 2022-05-10 11:54:19 -07:00
  • 6b5bdc4634 OSC parses prompt_start Mitchell Hashimoto 2022-05-10 11:40:37 -07:00
  • bb4332ac38 terminal: OSC parser Mitchell Hashimoto 2022-05-10 09:27:29 -07:00
  • 1045c40489 enter is CR Mitchell Hashimoto 2022-05-09 21:40:29 -07:00
  • adac8a3f60 implement ECH Mitchell Hashimoto 2022-05-09 21:17:21 -07:00
  • eaffc8a0d1 fix VPA/HPA offsets Mitchell Hashimoto 2022-05-09 21:04:41 -07:00
  • e3adedf6e6 fix a couple memory leaks Mitchell Hashimoto 2022-05-09 20:50:06 -07:00
  • 32ccfee94f implement scroll behavior for reverse index, add conformance Mitchell Hashimoto 2022-05-09 20:39:22 -07:00
  • 354ed6c21a implement reverse index and erase display below Mitchell Hashimoto 2022-05-09 17:28:27 -07:00
  • afb8bb6d60 Add conformance apps Mitchell Hashimoto 2022-05-09 17:28:14 -07:00
  • 8fb660bb94 forgot a letter on ctrl characters Mitchell Hashimoto 2022-05-09 14:14:49 -07:00
  • b0dcf2f77a implement (untested) more codes Mitchell Hashimoto 2022-05-09 13:03:41 -07:00
  • c0c034af68 terminal: collect intermediates properly Mitchell Hashimoto 2022-05-09 12:55:09 -07:00
  • 6f66a0dbeb parse SGR really poorly Mitchell Hashimoto 2022-05-09 10:02:23 -07:00
  • 86ab28cf10 esc dispatch is handled in parser Mitchell Hashimoto 2022-05-08 20:52:15 -07:00
  • 54783e3624 cursor right Mitchell Hashimoto 2022-05-08 20:42:24 -07:00
  • 566872f407 DCH delete chars Mitchell Hashimoto 2022-05-08 20:39:21 -07:00
  • c4c131ebe1 rename some funcs Mitchell Hashimoto 2022-05-08 20:25:02 -07:00
  • fd0fa1d08b implement erase line (EL) CSI Mitchell Hashimoto 2022-05-08 20:20:21 -07:00
  • 4314ea86b3 code tweak to avoid crash Mitchell Hashimoto 2022-05-08 20:13:53 -07:00
  • 68aca98ba8 CUP full implementation with tests Mitchell Hashimoto 2022-05-08 20:08:44 -07:00
  • 7e77c6b369 terminal implement clear screen and set cursor, needs tests Mitchell Hashimoto 2022-05-08 16:08:07 -07:00
  • 8e907a3522 terminal: pass intermediates through to CSI, ignore NUL Mitchell Hashimoto 2022-05-08 15:02:24 -07:00
  • 468f6e2b51 implement basic CSI dispatch action Mitchell Hashimoto 2022-05-08 14:44:47 -07:00
  • e9cabefe20 envrc: use nix, nix flakes messes up env in a way that breaks shells Mitchell Hashimoto 2022-05-06 01:02:35 -07:00
  • aaf160f38b set refresh callback for redraw Mitchell Hashimoto 2022-05-04 11:16:30 -07:00
  • b6bf0a329c update zig Mitchell Hashimoto 2022-05-04 11:11:25 -07:00
  • 700124ea8e use nix-direnv Mitchell Hashimoto 2022-05-04 09:41:08 -07:00
  • 1063d8ba8b tracy: not enabled if root doesn't export tracy_enabled Mitchell Hashimoto 2022-05-03 22:03:10 -07:00
  • 31214d16ed Add task to initialize repo Mitchell Hashimoto 2022-05-03 22:01:19 -07:00
  • c0957dfc39 slow it down a bit more under load Mitchell Hashimoto 2022-05-01 16:02:33 -07:00
  • a95e72eced fix release mode builds by building parse table Mitchell Hashimoto 2022-04-29 20:02:22 -07:00
  • 308050dc7d only update cells in the render call Mitchell Hashimoto 2022-04-29 19:47:17 -07:00
  • e0a6836cbd Update comments Mitchell Hashimoto 2022-04-29 19:28:04 -07:00
  • dcf0194a2f max_timer: don't call callback in the same tick anymore Mitchell Hashimoto 2022-04-29 19:27:52 -07:00
  • 49f28b3bb7 have to use an async handle to wake up event loop for max timer Mitchell Hashimoto 2022-04-29 19:24:17 -07:00
  • bb01357c42 Move the render to a timer that slows down under load Mitchell Hashimoto 2022-04-29 19:21:06 -07:00
  • b0aa222e58 libuv: Embed now uses a mutex + cond var Mitchell Hashimoto 2022-04-29 19:20:47 -07:00
  • e1a58c5cbc libuv: add more APIs Mitchell Hashimoto 2022-04-29 19:19:51 -07:00
  • f11531bc3f libuv: add Cond, Mutex Mitchell Hashimoto 2022-04-29 18:49:36 -07:00
  • ebec508da5 libuv: Loop.now Mitchell Hashimoto 2022-04-29 17:07:48 -07:00
  • cfcc72e0e8 tracy: support allocation wrapping Mitchell Hashimoto 2022-04-29 14:37:16 -07:00
  • 330d2ea270 integrate tracy more deeply Mitchell Hashimoto 2022-04-29 13:39:56 -07:00
  • 10736e2eb4 initial tracy support Mitchell Hashimoto 2022-04-29 09:15:49 -07:00
  • aae3eb88de vendor: add tracy v0.7.8 Mitchell Hashimoto 2022-04-29 08:38:49 -07:00
  • fbe9c10944 add tracy and update Zig Mitchell Hashimoto 2022-04-29 08:33:10 -07:00
  • fdde63cd36 vendor: remove stb Mitchell Hashimoto 2022-04-29 08:28:58 -07:00
  • 8a42336741 remove vendor/cglm Mitchell Hashimoto 2022-04-29 08:28:25 -07:00
  • bb24513c1a remove old unused files Mitchell Hashimoto 2022-04-29 08:27:16 -07:00
  • c180f7d30e unused comment Mitchell Hashimoto 2022-04-29 08:11:00 -07:00
  • 0c417027ef jank wrap handling (by not wrapping at all) Mitchell Hashimoto 2022-04-28 21:40:10 -07:00
  • 19a0b874f2 send control characters Mitchell Hashimoto 2022-04-28 21:29:05 -07:00
  • cbd6505d25 terminal: scrolling Mitchell Hashimoto 2022-04-28 21:18:27 -07:00
  • 79d2474aae send tab to process Mitchell Hashimoto 2022-04-28 20:10:42 -07:00
  • f44649476d horizontal tab off by one, add unit tests Mitchell Hashimoto 2022-04-27 21:06:28 -07:00
  • 53702343c2 ctrl-l is form feed Mitchell Hashimoto 2022-04-27 20:57:43 -07:00
  • 516e500b76 fix some miscalculations with tabstops, add test Mitchell Hashimoto 2022-04-27 20:43:10 -07:00
  • 15a816f863 horizontal tab, implement tabstops using a default value Mitchell Hashimoto 2022-04-27 20:21:16 -07:00
  • 3857e7f519 don't crash on htab, but its not implemented yet Mitchell Hashimoto 2022-04-27 09:30:39 -07:00
  • 2767f19ced bell doesn't crash Mitchell Hashimoto 2022-04-27 09:12:23 -07:00
  • 7d10c8f0a4 catch errors in ttyRead Mitchell Hashimoto 2022-04-26 19:52:51 -07:00
  • 9e6d38425a update TODO Mitchell Hashimoto 2022-04-26 19:47:39 -07:00
  • 7025b53544 add some TODOs Mitchell Hashimoto 2022-04-26 19:45:12 -07:00
  • 17c6d24bc2 handle backspace Mitchell Hashimoto 2022-04-26 19:39:37 -07:00
  • 515fbc02fd enter sends '\n' to child process Mitchell Hashimoto 2022-04-26 17:26:55 -07:00
  • e462f35727 don't ignore fcntl return for macos Mitchell Hashimoto 2022-04-26 17:14:26 -07:00
  • 3b2d93373e hook up the real subprocess reader/writer to the UI! Mitchell Hashimoto 2022-04-26 17:13:37 -07:00
  • a2a22791ee SegmentedPool Mitchell Hashimoto 2022-04-26 16:18:34 -07:00
  • 3881f9053e libuv: expose WriteReq Mitchell Hashimoto 2022-04-26 16:18:21 -07:00
  • b74b6103ea update command comments Mitchell Hashimoto 2022-04-26 14:51:26 -07:00
  • 22c34512cb Command: setup fd properly on mac Mitchell Hashimoto 2022-04-26 14:42:42 -07:00
  • c565a889f9 pty: use libc ioctl for compat Mitchell Hashimoto 2022-04-26 14:20:17 -07:00
  • cf40a33fdd hook up pty master to libuv Mitchell Hashimoto 2022-04-25 19:32:39 -07:00
  • 4bb2808d73 libuv: Errno, build up errors at comptime Mitchell Hashimoto 2022-04-25 19:20:54 -07:00
  • 0258b24d1f libuv: stream try_write Mitchell Hashimoto 2022-04-25 19:02:31 -07:00
  • a0424d3a86 libuv: pipe reading Mitchell Hashimoto 2022-04-25 18:58:32 -07:00
  • 2f457bbd97 libuv: stream writes Mitchell Hashimoto 2022-04-25 17:23:29 -07:00
  • ce3a3159dd libuv: beginning Pipes so we can more easily test streaming Mitchell Hashimoto 2022-04-24 22:17:53 -07:00
  • 02eeece569 libuv: start shared stream functions Mitchell Hashimoto 2022-04-24 22:03:14 -07:00
  • 6613ae0f8f libuv: starting Tty impl Mitchell Hashimoto 2022-04-24 21:57:52 -07:00
  • 9cc19b0553 execute the child command Mitchell Hashimoto 2022-04-24 14:33:25 -07:00
  • c4600d584f redraw window during resize Mitchell Hashimoto 2022-04-24 10:50:35 -07:00
  • e63f69572f disable retina framebuffer on mac, see comment Mitchell Hashimoto 2022-04-24 10:48:24 -07:00
  • 9d77e9e335 kevent properly blocks Mitchell Hashimoto 2022-04-24 10:21:29 -07:00
  • 724b2aedfa various fixes for macos Mitchell Hashimoto 2022-04-24 10:14:25 -07:00
  • 747ebfb628 fix pty resizing on darwin Mitchell Hashimoto 2022-04-24 09:32:03 -07:00
  • 70693872f7 use OpenGL on Mac Mitchell Hashimoto 2022-04-23 14:28:01 -07:00
  • d510d3c9a2 define gl_FragColor for macos Mitchell Hashimoto 2022-04-23 14:20:25 -07:00