1967 Commits

Author SHA1 Message Date
Mitchell Hashimoto
de00892f8e termio/exec: handle semantic prompt events 2023-05-27 15:48:31 -07:00
Mitchell Hashimoto
4047a90555 terminal: track semantic prompt metadata per row 2023-05-27 15:45:51 -07:00
Mitchell Hashimoto
e998e053b1 mac: fix split initial focus
When making a split, the window focus doesn't change so the new splits
were defaulting to "false" (not focused). Let's just assume when a
surface is created that it is in fact focused. This generally fixes the
issue.

If we ever programmatically create splits in background windows this
will probably fail so we should find a way on View init to detect if the
window has focus.
2023-05-27 14:37:00 -07:00
Mitchell Hashimoto
77dcc10f80 linux: fit gtk/flatpak builds 2023-05-27 10:01:20 -07:00
Mitchell Hashimoto
57d8754c85 update required zig version in build.zig 2023-05-27 09:31:47 -07:00
Mitchell Hashimoto
ac703d063b update flatpak zig binary URLs 2023-05-27 09:31:00 -07:00
Mitchell Hashimoto
8b22918783 Merge pull request #145 from mitchellh/cursor-invert
renderer: do not draw cursor cell inversion if we don't draw the cursor
2023-05-25 22:00:06 -07:00
Mitchell Hashimoto
80402b655c update zig 2023-05-25 21:47:05 -07:00
Mitchell Hashimoto
174595a6d3 Merge pull request #144 from mitchellh/dependabot/github_actions/cachix/install-nix-action-21
build(deps): bump cachix/install-nix-action from 20 to 21
2023-05-25 21:43:31 -07:00
Mitchell Hashimoto
1d14b121c0 renderer: do not draw cursor cell inversion if we don't draw the cursor
We previously used the "screen.viewportIsBottom" check but this is
always true since awhile back since we copy only the viewport now. A
cleaner check really is that we only track the cursor cell if we're even
drawing the cursor.
2023-05-25 21:41:43 -07:00
dependabot[bot]
7553b4dab0 build(deps): bump cachix/install-nix-action from 20 to 21
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 20 to 21.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v20...v21)

---
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-05-25 01:04:29 +00:00
Mitchell Hashimoto
b196e43ee4 fix some issues for future Zig update 2023-05-19 08:34:07 -07:00
Mitchell Hashimoto
472958fd12 macos: don't block shutdown/restart on confirmation 2023-05-19 08:27:19 -07:00
Mitchell Hashimoto
97d9157d22 update zig version 2023-05-07 20:50:51 -07:00
Mitchell Hashimoto
e2dc12cd6d update zig version 2023-04-06 09:09:23 -07:00
Mitchell Hashimoto
0862800e60 Merge pull request #141 from mitchellh/f-confirm-close-surface
Allow configuring confirm close surface
2023-04-06 09:05:22 -07:00
Mitchell Hashimoto
48cfd42cd0 Merge pull request #140 from mitchellh/dependabot/github_actions/flatpak/flatpak-github-actions-6
build(deps): bump flatpak/flatpak-github-actions from 5 to 6
2023-04-06 09:04:55 -07:00
Mitchell Hashimoto
9c990dd685 Merge pull request #142 from mitchellh/fix-build
Fix build, upstream vendor changes
2023-04-06 09:04:45 -07:00
Mitchell Hashimoto
1bfefa967c vendor/zig-objc 2023-04-06 09:01:43 -07:00
Mitchell Hashimoto
4de8ddbeb5 update build 2023-04-06 08:57:29 -07:00
Mitchell Hashimoto
e6b7ffe57c remove mach, specialize to mach-glfw 2023-04-06 08:56:08 -07:00
Jack Pearkes
3c49ece069 pass through confirm close config in surface 2023-04-05 13:15:34 -07:00
Jack Pearkes
5aa3514122 config: add confirm-close-surface 2023-04-05 12:49:03 -07:00
dependabot[bot]
85132606c8 build(deps): bump flatpak/flatpak-github-actions from 5 to 6
Bumps [flatpak/flatpak-github-actions](https://github.com/flatpak/flatpak-github-actions) from 5 to 6.
- [Release notes](https://github.com/flatpak/flatpak-github-actions/releases)
- [Commits](https://github.com/flatpak/flatpak-github-actions/compare/v5...v6)

---
updated-dependencies:
- dependency-name: flatpak/flatpak-github-actions
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-05 01:04:15 +00:00
Mitchell Hashimoto
920200fa04 update zig 2023-04-04 13:43:33 -07:00
Mitchell Hashimoto
05735b49ca vendor/zig-objc update 2023-04-04 10:27:08 -07:00
Mitchell Hashimoto
6a791c46dc vendor/mach: go back to mainline 2023-04-04 10:20:18 -07:00
Mitchell Hashimoto
d856aba84c selection toViewport point should extend to end of last row
Fixes #138
2023-03-28 09:30:47 -07:00
Mitchell Hashimoto
622f427c5f Merge pull request #137 from mitchellh/app-quit
Confirmation Dialog on App Quit
2023-03-27 10:58:14 -07:00
Mitchell Hashimoto
f5269df68f apprt/glfw: quit cleans up resources properly 2023-03-27 10:47:54 -07:00
Mitchell Hashimoto
69aaab50eb apprt/gtk: quit confirmation window 2023-03-27 10:45:27 -07:00
Mitchell Hashimoto
59f42f50a4 apprt/gtk: window close confirmation 2023-03-27 10:41:30 -07:00
Mitchell Hashimoto
4d29f028c6 apprt/gtk: close tab button will show confirmation properly 2023-03-27 10:35:49 -07:00
Mitchell Hashimoto
16244d0dab apprt/gtk: close keybind doesn't leak memory 2023-03-27 10:24:01 -07:00
Mitchell Hashimoto
f36a35ecc9 core: quit flag is reset after tick 2023-03-27 10:10:06 -07:00
Mitchell Hashimoto
41943b9a00 macos: quit if we have no visible windows 2023-03-27 10:05:29 -07:00
Mitchell Hashimoto
ef30ad394d macos: only show confirm quit on focused window 2023-03-27 09:52:38 -07:00
Mitchell Hashimoto
92870e4e60 macos: confirm on quit 2023-03-27 09:41:00 -07:00
Mitchell Hashimoto
9f128afe31 Merge pull request #135 from mitchellh/macos-13-fixes
macos: force macOS 12 SDK for latest macOS 13
2023-03-26 14:09:12 -07:00
Jakub Konka
29e93a8984 macos: force macOS 12 SDK for latest macOS 13 as Mach does not support it 2023-03-26 22:51:37 +02:00
Mitchell Hashimoto
4d41b3ff54 Merge pull request #134 from mitchellh/gtk-confirm
gtk, macos: show confirmation dialog on surface close with active child process
2023-03-26 10:59:09 -07:00
Mitchell Hashimoto
8fa5a9d299 macos: Cmd+W closes settings window if focused 2023-03-26 10:43:57 -07:00
Mitchell Hashimoto
a1831ecacb macos: show close confirmation if running process exists 2023-03-26 10:40:38 -07:00
Mitchell Hashimoto
bc9973d37f apprt/gtk: set proper defaults to confirmation dialog 2023-03-25 16:45:17 -07:00
Mitchell Hashimoto
86c4a8ed7d apprt/embedded: support new process alive callback on close 2023-03-25 16:41:18 -07:00
Mitchell Hashimoto
3689f1fe39 apprt/gtk: only show exit confirmation if process is alive 2023-03-25 16:36:12 -07:00
Mitchell Hashimoto
2c0dbab7ba apprt/gtk: always confirm when surface is closed 2023-03-25 16:26:30 -07:00
Mitchell Hashimoto
a534f5c5b0 Merge pull request #133 from mitchellh/translate-keys
Translate keys according to keyboard layout (partial fix)
2023-03-25 16:25:31 -07:00
Mitchell Hashimoto
1c587759a0 apprt/gtk: fix key callback 2023-03-25 15:45:15 -07:00
Mitchell Hashimoto
decaee61b2 apprt/embedded: support unmapped keys 2023-03-25 15:44:17 -07:00