Commit Graph

  • 16a5a45293 when growing rows, offset cursor by added rows Mitchell Hashimoto 2022-08-08 18:14:11 -07:00
  • d551f1126b when less cols, cursor needs to be in screen space, not viewport Mitchell Hashimoto 2022-08-08 17:44:13 -07:00
  • 113b5a318b when shrinking rows, clear empty space from the end (see test case) Mitchell Hashimoto 2022-08-08 17:08:57 -07:00
  • a2cf116063 fix a crash when reflowing to smaller cols but still buggy Mitchell Hashimoto 2022-08-08 14:20:52 -07:00
  • f3d3d255fb handle case where cursor is past where content is on col shrink Mitchell Hashimoto 2022-08-08 14:08:01 -07:00
  • 9493561159 assertions to save our bacon Mitchell Hashimoto 2022-08-08 14:03:14 -07:00
  • e4c8bbd394 reflow cursor when shrinking cols Mitchell Hashimoto 2022-08-08 14:02:28 -07:00
  • 6fa4cb07c7 more cursor reflow Mitchell Hashimoto 2022-08-08 13:56:09 -07:00
  • bfbeceeefa when cols grow, move cursor if it unwraps the line it is on Mitchell Hashimoto 2022-08-08 13:47:49 -07:00
  • a37bf60bf6 update TODO Mitchell Hashimoto 2022-08-08 13:06:32 -07:00
  • 9ddb19e9b0 replace old resize with new reflow resize Mitchell Hashimoto 2022-08-08 13:06:01 -07:00
  • f97b739317 reflow when columns get smaller Mitchell Hashimoto 2022-08-08 13:04:27 -07:00
  • 8a5dadd995 rowIndex uses tag max so we have max in just one place Mitchell Hashimoto 2022-08-08 10:38:24 -07:00
  • 57f6986343 rowIterator(.screen) now ignores unused lines, fixes shrinking rows Mitchell Hashimoto 2022-08-08 10:32:42 -07:00
  • 4ef73efeac resize less rows, but currently not 100% working (see commented tests) Mitchell Hashimoto 2022-08-08 10:28:11 -07:00
  • 2cf4a265e5 reflow when cols grow Mitchell Hashimoto 2022-08-08 09:36:04 -07:00
  • dc351582bc resize increasing column width without reflow Mitchell Hashimoto 2022-08-07 16:23:23 -07:00
  • be3a539152 start working on new resize with reflow, can grow rows Mitchell Hashimoto 2022-08-07 15:52:53 -07:00
  • 039b640f6b Merge branch 'reflow' Mitchell Hashimoto 2022-08-07 10:47:27 -07:00
  • 2d6d027097 Screen.region to get a region of contiguous memory for a tag Mitchell Hashimoto 2022-08-07 10:46:35 -07:00
  • 92602dafca rowIterator takes the tag type to iterate over Mitchell Hashimoto 2022-08-07 10:26:04 -07:00
  • 05e0adaa01 screen operations operate on the active area Mitchell Hashimoto 2022-08-07 09:48:22 -07:00
  • 8ea20f9e41 start changing getRow and rowIndex to use tagged indexes Mitchell Hashimoto 2022-08-07 09:41:30 -07:00
  • e687cdb82f more TODO Mitchell Hashimoto 2022-08-06 16:15:52 -07:00
  • f4e00859ce update TODO with a bunch of select tasks Mitchell Hashimoto 2022-08-06 16:13:45 -07:00
  • 1da5ca0a7f mouse xpos/ypos can be negative or larger than window size Mitchell Hashimoto 2022-08-06 16:05:32 -07:00
  • 109e2a67ab selectionString: realloc so free gets the correct length Mitchell Hashimoto 2022-08-06 15:50:25 -07:00
  • 9d26ab2dc8 memset zero values when resizing a screen Mitchell Hashimoto 2022-08-06 15:44:20 -07:00
  • 80719d1467 update TODO Mitchell Hashimoto 2022-08-06 11:19:23 -07:00
  • 8ba9209f64 update mach vendor Mitchell Hashimoto 2022-08-06 11:10:56 -07:00
  • ac5b4d8760 update zig Mitchell Hashimoto 2022-08-05 20:00:56 -07:00
  • c99a79055c HPA does nothing when status display is active Mitchell Hashimoto 2022-08-05 19:56:40 -07:00
  • ce6f022a7e cursor should be a hollow rect on unfocus, regression from e163e4962b Mitchell Hashimoto 2022-08-05 19:26:50 -07:00
  • dd98768400 note that selectionSlices is tested Mitchell Hashimoto 2022-08-05 11:40:52 -07:00
  • 263ca66b74 update TODO Mitchell Hashimoto 2022-08-05 11:39:04 -07:00
  • 2670ae1265 Copy Selection to Clipboard Mitchell Hashimoto 2022-08-05 11:38:41 -07:00
  • d4c4330d4d copy! Mitchell Hashimoto 2022-08-05 11:37:02 -07:00
  • abde2b9e18 way easier way to slice to end of storage duh Mitchell Hashimoto 2022-08-05 11:21:37 -07:00
  • ecaca23959 selectionString: test wraparound case, fix bugs Mitchell Hashimoto 2022-08-05 11:20:53 -07:00
  • 363c51360b selectionString: more accurate buf allocation Mitchell Hashimoto 2022-08-05 11:08:56 -07:00
  • 25dc292c14 selectionString unwraps properly Mitchell Hashimoto 2022-08-05 11:04:41 -07:00
  • dd76fe124d terminal.selectionString to grab the string value of a selection Mitchell Hashimoto 2022-08-05 10:57:08 -07:00
  • 140f66937d update TODO Mitchell Hashimoto 2022-08-04 16:58:09 -07:00
  • 0855d391a8 fix selection of a single character Mitchell Hashimoto 2022-08-04 16:53:10 -07:00
  • 68260cc3d0 fix some selection contains logic on single lines Mitchell Hashimoto 2022-08-04 14:40:28 -07:00
  • d0dc69a0a8 color selection! Mitchell Hashimoto 2022-08-04 14:37:10 -07:00
  • 40161a9eff track mouse state, setup selection state on cursor move with click Mitchell Hashimoto 2022-08-04 14:21:40 -07:00
  • f2e9746d2b fix build error Mitchell Hashimoto 2022-08-04 13:08:51 -07:00
  • 974138378b introducing dedicated point types Mitchell Hashimoto 2022-08-04 13:04:42 -07:00
  • 8facf9b942 terminal: add Selection struct Mitchell Hashimoto 2022-08-04 11:44:36 -07:00
  • bb0b95732e opengl: support extension iteration, list in debug mode Mitchell Hashimoto 2022-08-04 11:13:56 -07:00
  • e163e4962b refactor cursor implementation, implement cursor visible (mode 25) Mitchell Hashimoto 2022-08-03 21:39:42 -07:00
  • 1680aee880 some logging improvements Mitchell Hashimoto 2022-08-03 21:13:05 -07:00
  • b2a9f1f79e update nixpkgs Mitchell Hashimoto 2022-08-03 09:57:47 -07:00
  • befeb08b3d add a lot more tracing as I hunt down some performance things Mitchell Hashimoto 2022-08-03 09:56:32 -07:00
  • 0bc8300e74 remove unused line Mitchell Hashimoto 2022-08-02 21:45:20 -07:00
  • f82b8f89e7 releast-fast for dev/install otherwise renders are slow Mitchell Hashimoto 2022-08-02 21:03:34 -07:00
  • 40cec18943 implement DECSASD by just blackholing the output for now Mitchell Hashimoto 2022-08-02 11:03:01 -07:00
  • 2b80699179 cursor position absolute needs to ignore all the offset stuff Mitchell Hashimoto 2022-08-02 10:30:20 -07:00
  • 1fbfc8a664 update Zig nightly Mitchell Hashimoto 2022-08-02 09:27:05 -07:00
  • 84af11e1eb detect config file load in config file Mitchell Hashimoto 2022-08-02 09:25:36 -07:00
  • 782ddfe722 --config-file to load a config file Mitchell Hashimoto 2022-08-01 18:04:39 -07:00
  • bf526fb217 cli: support multiple calls into parse without clobbering arena Mitchell Hashimoto 2022-08-01 12:56:28 -07:00
  • 0249f3c174 cli parsing supports modification, add "RepeatableString" as example Mitchell Hashimoto 2022-08-01 11:54:51 -07:00
  • 8267f10cc1 Update makefile to only patchelf on NixOS Mitchell Hashimoto 2022-07-31 16:44:29 -07:00
  • d614da2435 make dev/install to add a dev install Mitchell Hashimoto 2022-07-31 16:11:01 -07:00
  • 9779b565bf nix: add other X11 deps Mitchell Hashimoto 2022-07-26 15:02:03 -07:00
  • 23548852c6 update to nixpkgs 22.05 Mitchell Hashimoto 2022-07-26 14:40:57 -07:00
  • fc611ec28b nix: update the package to set proper rpath Mitchell Hashimoto 2022-07-26 14:39:40 -07:00
  • 2453b40e5d log glfw errors globally Mitchell Hashimoto 2022-07-26 13:05:57 -07:00
  • 2be6de7ebd nix: we have a package that builds, but doesn't run Mitchell Hashimoto 2022-07-26 12:04:51 -07:00
  • 702f54a6fa first attempt at a derivation Mitchell Hashimoto 2022-07-26 11:38:54 -07:00
  • adba7aae22 Add sdk submodule Mitchell Hashimoto 2022-07-26 11:33:15 -07:00
  • e4dd940c98 vendor: update mach for glfw Mitchell Hashimoto 2022-07-26 11:24:36 -07:00
  • c09498318a don't install conformance tests Mitchell Hashimoto 2022-07-26 09:55:37 -07:00
  • 28acd99d7d reset inverse attribute Mitchell Hashimoto 2022-07-26 09:37:52 -07:00
  • e34c8958c2 test: update test cases from the setCursorPosition off-by-one fix Mitchell Hashimoto 2022-07-25 17:21:59 -07:00
  • 85a9e6fdf0 fix an off by one in set cursor pos Mitchell Hashimoto 2022-07-25 17:02:59 -07:00
  • 4f85c13d1b test: add wraptest Mitchell Hashimoto 2022-07-25 08:23:50 -07:00
  • 473f749f00 nix: add wraptest Mitchell Hashimoto 2022-07-25 08:18:35 -07:00
  • a239098883 index should return after handling bottom-most line in scroll region Mitchell Hashimoto 2022-07-25 08:08:23 -07:00
  • f11c82853f test: run-all runs in parallel Mitchell Hashimoto 2022-07-24 16:47:47 -07:00
  • e66a4fcab6 test cases update since deccolm implemented Mitchell Hashimoto 2022-07-24 16:35:18 -07:00
  • d81bb19af6 fix crash we can get with horizontal tabs off the end of the screen Mitchell Hashimoto 2022-07-24 16:33:57 -07:00
  • 5c8c9d8e3c support DECCOLM Mitchell Hashimoto 2022-07-24 16:06:04 -07:00
  • a3409ac70d erase line left should include cursor position Mitchell Hashimoto 2022-07-24 09:53:21 -07:00
  • a43c63111f count = 0 implies 1 for all cursor movement, fixes one line of vttest Mitchell Hashimoto 2022-07-24 09:36:21 -07:00
  • 6369f1f2f9 big improvements in action logging Mitchell Hashimoto 2022-07-24 09:20:02 -07:00
  • 4a9b8ea187 add a formatter for CSI logs so that they're more easy to read Mitchell Hashimoto 2022-07-23 18:13:37 -07:00
  • bf3d6617fe move test log up so it shows up on fail Mitchell Hashimoto 2022-07-22 14:24:24 -07:00
  • dfde2acf10 on resize, make sure we resize the alt screen too Mitchell Hashimoto 2022-07-22 14:22:53 -07:00
  • 12a864c3f2 test: use larger dimensions to avoid some crash Mitchell Hashimoto 2022-07-22 14:17:15 -07:00
  • 65c0472701 test: sort tests prior to running Mitchell Hashimoto 2022-07-22 13:59:51 -07:00
  • 3dbe9cba43 clean up unreachables with log statements Mitchell Hashimoto 2022-07-22 13:54:16 -07:00
  • 1b9b14be8b update zig Mitchell Hashimoto 2022-07-22 13:48:55 -07:00
  • 855a71d55c quiet noisy log Mitchell Hashimoto 2022-07-22 13:45:51 -07:00
  • 180d4a3c41 test: colorize output Mitchell Hashimoto 2022-07-22 13:42:53 -07:00
  • d672bedec7 alternate screen buffer (mode 1049) now supported Mitchell Hashimoto 2022-07-22 13:35:11 -07:00
  • 5564bd7213 cursor belongs to screen (prep for alternate screen) Mitchell Hashimoto 2022-07-22 13:08:40 -07:00
  • cf1aeacc4b update TODO Mitchell Hashimoto 2022-07-22 10:12:18 -07:00