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
Mitchell Hashimoto
1970a84960
screen: when resizing and trimming scrollback, have to offset cursor Y
...
When the scrollback is trimmed off the top, the y stops moving. This
would cause an assertion failure because y could be greater than the row
count! The test case tests this.
2023-02-28 22:28:27 -08:00
Mitchell Hashimoto
87e0f5589f
screen clone should not make full requested height "written"
...
Previously, the screen clone would incidentally mark the full height as
"written" which would cause resize to create scrollback because it was
trying to preserve prior rows. A clone should not "write" any data. This
modifies the clone operation to create a screen with the correct height
but only copy data actually written.
2023-02-28 17:10:28 -08:00
Mitchell Hashimoto
38060978e2
termio/exec: don't pass pointer to stack var
2023-02-28 11:07:03 -08:00
Mitchell Hashimoto
d49c65d101
update zig-objc for new for syntax
2023-02-27 22:08:12 -08:00
Mitchell Hashimoto
14a88c93ba
update zig-js for latest zig changes
2023-02-27 22:02:50 -08:00
Mitchell Hashimoto
8a451fa302
update flatpak to use latest zig
2023-02-27 22:01:32 -08:00
Mitchell Hashimoto
32e367e060
update mach to fork for now
2023-02-27 21:56:19 -08:00
Mitchell Hashimoto
2b73fbaa0d
iterating on the new for loop syntax
2023-02-27 21:53:09 -08:00
Mitchell Hashimoto
8db30107ae
pkg: fmt
2023-02-27 21:46:59 -08:00
Mitchell Hashimoto
ce86c64b42
update zig, src for loops
2023-02-27 21:46:42 -08:00