1696 Commits

Author SHA1 Message Date
Mitchell Hashimoto
4bbb419cb0 macos: use my new split view 2023-03-07 16:51:26 -08:00
Mitchell Hashimoto
06d770fefa macos: SplitView dragging 2023-03-07 16:36:56 -08:00
Mitchell Hashimoto
d00794de8e macos: working on custom split view 2023-03-07 16:22:00 -08:00
Mitchell Hashimoto
1faca5972f macos: change key window detection 2023-03-06 21:53:22 -08:00
Mitchell Hashimoto
1a3cd852f9 macos: massive reorg 2023-03-06 21:28:09 -08:00
Mitchell Hashimoto
1a4fabc2e5 macos: fix state handling of terminal surface in split 2023-03-06 10:40:08 -08:00
Mitchell Hashimoto
eef41aa6de macos: window tracking cleans up observers properly 2023-03-06 10:19:08 -08:00
Mitchell Hashimoto
00cf9edc94 macos: working on splits 2023-03-05 14:23:25 -08:00
Mitchell Hashimoto
6854d09a8d macos: get rid of delegates on our surface view 2023-03-05 13:41:35 -08:00
Mitchell Hashimoto
1fbbdd3fc7 macos: making the surface state get passed down... 2023-03-05 13:37:01 -08:00
Mitchell Hashimoto
b1d57cd500 macos: rename TerminalSurfaceView to TerminalSurface 2023-03-05 13:18:56 -08:00
Mitchell Hashimoto
4f9d949aec ci: set git committer for release tag 2023-03-05 11:50:22 -08:00
Mitchell Hashimoto
b1a7baf394 metal: do not use setPurgeableState on MTLTexture/Buffer
The Metal system automatically will free hardware resources when no
other references exist (I believe) and this causes a crash if you close
a window while a render is in-flight.
2023-03-05 10:00:05 -08:00
Mitchell Hashimoto
03f5addd34 build.zig handles tagged releases 2023-03-05 09:04:59 -08:00
Mitchell Hashimoto
6a320db349 ci: release tag after builds are done 2023-03-05 09:00:50 -08:00
Mitchell Hashimoto
93d7f4d76b ci: automatically set macos app build number 2023-03-04 20:41:09 -08:00
Mitchell Hashimoto
0907da4eba build: generate a version number, show in log on startup 2023-03-04 20:34:15 -08:00
Mitchell Hashimoto
5906d87642 Merge pull request #88 from mitchellh/sprite-cursor
Use procedurally generated sprites for cursors rather than shader logic
2023-03-04 15:16:03 -08:00
Mitchell Hashimoto
cf519bcd75 Use procedurally generated sprites for cursors rather than shaders 2023-03-04 15:14:10 -08:00
Mitchell Hashimoto
25cf4eac43 don't need to set all sprite values in enum 2023-03-04 14:45:34 -08:00
Mitchell Hashimoto
bb48ebc9cb fix wasm build 2023-03-04 14:26:56 -08:00
Mitchell Hashimoto
e882c21c04 disable double/tripclick highlighting if mouse reporting is enabled 2023-03-04 14:24:40 -08:00
Mitchell Hashimoto
d309007ec0 fix mouse position recording for x10 format
I don't know when this broke since I swear this was working before...
2023-03-04 14:17:12 -08:00
Mitchell Hashimoto
06035e2f95 can now use -Dfont-backend to choose the font backend to use 2023-03-04 10:50:13 -08:00
Mitchell Hashimoto
4e31f14f7b renderer: reset font shaper buffer size on font size change 2023-03-03 14:35:26 -08:00
Mitchell Hashimoto
89d07fcd83 clear_history binding, default Cmd+K 2023-03-03 09:27:47 -08:00
Mitchell Hashimoto
7595ccf18f build_config sets runtime to "none" if embedded 2023-03-03 09:09:44 -08:00
Mitchell Hashimoto
2a40bdabca macos: load config file default file locations 2023-03-03 09:01:13 -08:00
Mitchell Hashimoto
d8537732dd config: add functions to load from home and load configured 2023-03-03 08:57:21 -08:00
Mitchell Hashimoto
e775c434fb add log when config file is successfully read 2023-03-02 21:22:37 -08:00
Mitchell Hashimoto
b5bb74e749 Merge pull request #84 from mitchellh/resize
Resize Fixes
2023-03-02 13:53:20 -08:00
Mitchell Hashimoto
4ececc8923 screen: resize rows should use old cols value 2023-03-02 13:46:58 -08:00
Mitchell Hashimoto
5573df4947 terminal: erase display complete needs to reset row wrap state 2023-03-02 13:20:06 -08:00
Mitchell Hashimoto
e28d20a05d disable the auto balance config by default, add some padding
This makes resizing too jittery which I think is a worse out of the box
experience than the padding.
2023-03-02 12:55:46 -08:00
Mitchell Hashimoto
abd896b34a Merge pull request #83 from mitchellh/resize
Resize Fixes
2023-03-01 22:23:56 -08:00
Mitchell Hashimoto
89cdac6bf3 Merge pull request #82 from mitchellh/dependabot/github_actions/cachix/install-nix-action-20
build(deps): bump cachix/install-nix-action from 19 to 20
2023-03-01 22:22:54 -08:00
Mitchell Hashimoto
ba96a2c023 screen: adding cols doesn't mess with the viewport
This was untested anyways, and the result was bugs!
2023-03-01 22:14:19 -08:00
Mitchell Hashimoto
28378a350d screen: shrinking cols trims trailing blank lines 2023-03-01 22:01:42 -08:00
Mitchell Hashimoto
05fe2a83b1 terminal: erase display below should unwrap soft wrapped state 2023-03-01 21:30:31 -08:00
Mitchell Hashimoto
56cb1dd55b screen: correct cursor position with scrollback and less cols 2023-03-01 21:06:33 -08:00
Mitchell Hashimoto
979dc5a439 screen: redo resizing to less columns
This is more performant (prefers fast copies if no wrapping) and keeps
track of the cursor more accurately.
2023-03-01 20:59:35 -08:00
Mitchell Hashimoto
3b586c39c5 screen: grow cols before rows to handle reflow (tested) 2023-03-01 19:45:39 -08:00
Mitchell Hashimoto
74f0e38b57 screen: only trim if we're not wrapping on col growing 2023-03-01 17:42:46 -08:00
Mitchell Hashimoto
9a4a138da0 screen: don't wrap empty-char stylized cells on shrinking cols 2023-03-01 17:34:17 -08:00
Mitchell Hashimoto
31ac3ec7ba screen: when expanding cols, broadcast empty styled cells 2023-03-01 17:24:24 -08:00
dependabot[bot]
cb8f44667e build(deps): bump cachix/install-nix-action from 19 to 20
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 19 to 20.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v19...v20)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-02 01:14:11 +00:00
Mitchell Hashimoto
89138cf7e3 screen: don't trim blank lines if rows aren't changing 2023-03-01 17:09:57 -08:00
Mitchell Hashimoto
b4d8419feb screen: trim trailing no-character cells when rows is changing
This matches Terminal.app, and makes it so the `ESC [ J` doesn't
generate scrollback on rows change.
2023-03-01 17:07:07 -08:00
Mitchell Hashimoto
d4057522ee screen: resize more rows preserves soft wrapped flag 2023-03-01 09:18:26 -08:00
Mitchell Hashimoto
5f9ab91466 screen: fix issue with resizing w/ more cols, reflow, and scrollback 2023-03-01 09:08:08 -08:00