4145 Commits

Author SHA1 Message Date
Mitchell Hashimoto
27ddc90c18 update README 2023-10-30 12:02:42 -07:00
Mitchell Hashimoto
1b0fea044f macos: move debug view 2023-10-30 12:01:10 -07:00
Mitchell Hashimoto
05fd3f25b3 macos: clear content view on window close 2023-10-30 11:58:23 -07:00
Mitchell Hashimoto
2d4cfb6860 Merge pull request #770 from p00f/expose-selectOutput
expose selectOutput via ctrl+triple click
2023-10-30 11:55:21 -07:00
Mitchell Hashimoto
ed1741730e macos: base config plumbed through 2023-10-30 11:53:05 -07:00
Mitchell Hashimoto
61451942e8 macos: implement last surface close to close window 2023-10-30 09:53:59 -07:00
Mitchell Hashimoto
481d128405 macos: tab labels, detect window close 2023-10-30 09:50:52 -07:00
Mitchell Hashimoto
8a03dcbb5b macos: goto tab works 2023-10-30 09:24:06 -07:00
Mitchell Hashimoto
b8a24e8bba macos: toggle fullscreen 2023-10-30 09:19:13 -07:00
Chinmay Dalal
4a0e53c1cc expose selectOutput via ctrl+triple click
closes #752
2023-10-30 21:46:59 +05:30
Mitchell Hashimoto
bee0f25d54 macos: new terminal view new tab/window 2023-10-30 09:06:24 -07:00
Mitchell Hashimoto
704c303cd1 macos: working on the new terminalmanager 2023-10-30 09:06:24 -07:00
Mitchell Hashimoto
3018377389 macos: wip 2023-10-30 09:06:24 -07:00
Mitchell Hashimoto
0ca69cbc98 macos: update xib version 2023-10-30 09:06:23 -07:00
Mitchell Hashimoto
cd18f3455b macos: add needsConfirmQuit helper to surface and split structs 2023-10-30 09:06:23 -07:00
Mitchell Hashimoto
981efb11db macos: add HostingWindow helper 2023-10-30 09:06:23 -07:00
Mitchell Hashimoto
9b134a60c1 apprt/embedded: add API to detect if a single surface needs quit confirm 2023-10-30 09:06:23 -07:00
Mitchell Hashimoto
f394324d89 Merge pull request #769 from mitchellh/box-underflow
font: box sprite use saturated subtraction
2023-10-30 09:04:17 -07:00
Mitchell Hashimoto
3a5f12b8ab font: box sprite use saturated subtraction
Fixes #757

The x/y is unsigned (as it should be, since top-left is 0,0). In the
case of a very small grid size and certain thickness settings, its
possible to overflow. In this scenario, the only reasonable thing to do
is just clamp to 0 because some sprites are going to look weird with
small enough grids anyways.
2023-10-30 09:01:14 -07:00
Mitchell Hashimoto
e188aba7f4 apprt/gtk: if no parent is set on new window, do not inherit wd 2023-10-30 08:50:58 -07:00
Mitchell Hashimoto
2c9420b742 Merge pull request #767 from dvorakluk/fix/padding-balance
fix window-padding-balance in combination with explicit padding
2023-10-30 08:45:13 -07:00
Mitchell Hashimoto
9e811f48b1 Merge pull request #759 from p00f/select-output
implement selecting output a `ScreenPoint` is in
2023-10-30 08:39:48 -07:00
Lukáš Dvořák
bca7140248 balanced padding cleanup 2023-10-30 14:56:02 +01:00
Lukáš Dvořák
6887ea7e53 fix window-padding-balance in combination with explicit padding 2023-10-30 13:46:19 +01:00
Chinmay Dalal
bccf1216bc exit early when cursor is on a prompt line 2023-10-30 12:42:58 +05:30
Chinmay Dalal
0920ab08cd handle cursor on a prompt line 2023-10-30 11:52:35 +05:30
Chinmay Dalal
3ff20c7418 add tests 2023-10-30 10:19:21 +05:30
Mitchell Hashimoto
dfe5f0c3cb Merge pull request #765 from mitchellh/macos-hashable
macos: SplitNode must be hashable to detect change
2023-10-29 17:58:18 -07:00
Mitchell Hashimoto
c28a0e9ef0 macos: SplitNode must be hashable to detect change
Fixes #761

SplitNode not being hashable meant that when it was set to a value of
the same enum case, SwiftUI could not detect a change for re-render.
2023-10-29 17:39:07 -07:00
Chinmay Dalal
fae356be5a implement selecting output a ScreenPoint is in
This works by finding prompt markers provided by shell integration
Does not yet close #752 as this is not exposed
2023-10-30 01:30:43 +05:30
Mitchell Hashimoto
c182093934 Merge pull request #762 from mitchellh/mattpolzin-misc-typos
Just a couple of minor typos discovered while getting started.
2023-10-29 12:55:12 -07:00
Mitchell Hashimoto
a510f1e383 Merge pull request #764 from mitchellh/e3
terminfo: add E3 for clear scrollback
2023-10-29 12:54:51 -07:00
Mitchell Hashimoto
155cd099ba terminfo: add E3 for clear scrollback
`clear(1)` uses this to clear scrollback unless supressed with `-x`.
2023-10-29 12:52:33 -07:00
Mitchell Hashimoto
68275d6afa config: update some comments around pwd inheritance
Fixes #760
2023-10-29 12:02:19 -07:00
Mitchell Hashimoto
177aaea1d3 Merge pull request #753 from mitchellh/update-undercurl
feat: update undercurl with antialiasing
2023-10-28 21:07:42 -07:00
Matthew Winter
58f1653a16 feat: cleanup types and reduce casting 2023-10-29 14:17:46 +11:00
Mathew Polzin
934718194b Fix typo in README 2023-10-28 21:17:59 -05:00
Mathew Polzin
d5776ff017 Fix typo in Config.zig
key scan -> keys can
2023-10-28 18:54:32 -05:00
Mitchell Hashimoto
c02aebbecf Merge pull request #754 from mitchellh/mem
renderers: clear GPU cell buffers when resizing
2023-10-28 11:42:44 -07:00
Mitchell Hashimoto
06edc311a1 renderer/opengl: reclaim cell buffer memory when resizing 2023-10-28 11:38:20 -07:00
Mitchell Hashimoto
95f0b4779d renderer/metal: reclaim cell buffer memory when resizing 2023-10-28 11:30:02 -07:00
Mitchell Hashimoto
a249e5973d font/underline: some additional type annotations 2023-10-28 10:40:51 -07:00
Matthew Winter
6d971de87a feat: add x_facter comment and remove old code 2023-10-29 03:13:17 +11:00
Matthew Winter
a5eb746cf5 feat: update undercurl with antialiasing 2023-10-29 02:49:31 +11:00
Mitchell Hashimoto
533b28eb9d Merge pull request #751 from psnszsn/main
apprt/gtk: handle non-ascii keyvals
2023-10-28 08:43:33 -07:00
Mitchell Hashimoto
c2adf22858 apprt/gtk: comment on what is going on with keyval mapping 2023-10-28 08:42:35 -07:00
Mitchell Hashimoto
4589883237 Merge pull request #750 from mitchellh/mrn/update-zls
nix: update ZLS to newest version
2023-10-28 08:32:10 -07:00
Vlad Pănăzan
6b7dd1479d apprt/gtk: handle non-unicode keyvals 2023-10-28 15:35:16 +02:00
Thorsten Ball
0b0f199955 nix: update ZLS to newest version 2023-10-28 09:03:32 +02:00
Mitchell Hashimoto
641fb535b7 Merge pull request #749 from mitchellh/command-args
Command args, `-e` flag
2023-10-27 18:29:18 -07:00