Thorsten Ball
604a2c1353
README: add notice about gtk single instance application
...
Just as discussed on Discord: this adds a note to the README that can
potentially save minutes _and_ hairs.
2023-09-03 21:45:22 +02:00
Mitchell Hashimoto
2c5271ca82
Merge pull request #397 from mitchellh/mrn/gtk-window-decoration
...
gtk: allow hiding window decoration in configuration
2023-09-03 12:41:14 -07:00
Thorsten Ball
a1a48eb3f0
gtk: allow hiding window decoration in configuration
...
This is part of #319 by fixing it for GTK and introducing the
configuration option.
This adds `window-decoration = false` as a possible configuration
option. If set to `false`, then no window decorations are used.
2023-09-03 21:27:21 +02:00
Mitchell Hashimoto
5221a2f7f1
Merge pull request #395 from mitchellh/update-zig
...
update zig
2023-09-03 08:30:52 -07:00
Mitchell Hashimoto
375a4569f7
update zig
2023-09-03 08:21:21 -07:00
Mitchell Hashimoto
fc81802590
Merge pull request #394 from mitchellh/libxev
...
update vendor/libxev to retry on EINTR for io_uring
2023-09-03 08:14:43 -07:00
Mitchell Hashimoto
5bace502e4
update vendor/libxev to retry on EINTR for io_uring
...
Fixes #290
Previously, our io_uring loops were exiting on EINTR. EINTR is sent for
various reasons but particularly when a process is stopped such as for
sleeping. We should not exit these loops.
Longer term we should be more resilient to detecting that our renderer
and/or IO thread as died and behave in some better way but this
addresses a major issue in the mean time.
2023-09-03 08:10:13 -07:00
Mitchell Hashimoto
d3047c2245
Merge pull request #393 from mitchellh/refactor-cursor-style
...
config: clean up cursor style configuration
2023-09-03 07:53:11 -07:00
SoraTenshi
6faed268e0
config: clean up cursor style configuration
2023-09-03 07:51:36 -07:00
Mitchell Hashimoto
26f589e3e0
Merge pull request #391 from mitchellh/zoom-split
...
Zoom/Unzoom Split
2023-09-02 16:55:49 -07:00
Mitchell Hashimoto
e657a0f671
macos: close and refocus split work while zoomed
2023-09-02 16:47:48 -07:00
Mitchell Hashimoto
76ae039701
macos: new split on zoomed split unzooms
2023-09-02 16:37:22 -07:00
Mitchell Hashimoto
e2282f1f4d
macos: zoomed splits put an emoji in the title bar
2023-09-02 16:33:33 -07:00
Mitchell Hashimoto
4570356e57
turn zoom into a toggle rather than an explicit zoom/unzoom
2023-09-02 16:03:51 -07:00
Mitchell Hashimoto
70bdc21d22
macos: support zoomed splits
2023-09-02 15:51:10 -07:00
Mitchell Hashimoto
519a97b782
core: add unzoom_split binding
2023-09-02 15:15:12 -07:00
Mitchell Hashimoto
50a1a52ae3
core: add zoom keybinding for splits
2023-09-02 14:52:43 -07:00
Mitchell Hashimoto
5e18f3c731
update README with additional shell integration notes
2023-09-02 14:09:49 -07:00
Mitchell Hashimoto
d338828b85
Merge pull request #387 from mitchellh/dpi
...
content scale change events should also impact viewport padding
2023-09-02 13:58:06 -07:00
Mitchell Hashimoto
bf71bdc1fb
Merge pull request #389 from mitchellh/csi-p
...
terminal: CSI P must shift all remaining columns to right of cursor
2023-09-02 11:34:46 -07:00
Mitchell Hashimoto
aa04c79586
terminal: CSI P must shift all remaining columns to right of cursor
...
Fixes #388
2023-09-02 11:28:37 -07:00
Mitchell Hashimoto
22eb533473
content scale change events should also impact viewport padding
...
This calculates the new padding pixel values and propogates those
changes to the renderer.
2023-09-02 11:00:51 -07:00
Mitchell Hashimoto
6c7ccae848
Merge pull request #385 from mgeist/update-font-dpi
...
Update font DPI when the content scale is updated
2023-09-02 10:41:07 -07:00
Mat
9e5ced2600
use a const scoped block for font size
2023-09-02 13:39:29 -04:00
Mat
0d094f244e
Update font DPI when the content scale is updated
2023-09-02 13:00:04 -04:00
Mitchell Hashimoto
d6bfa8183e
Merge pull request #384 from mitchellh/macos12-split-focus
...
macos: hacks for split focus to work correctly on macos 12
2023-09-02 09:18:51 -07:00
Mitchell Hashimoto
1626c8cd3a
macos: hacks for split focus to work correctly on macos 12
2023-09-02 09:15:50 -07:00
Mitchell Hashimoto
7ab70ecd0a
Merge pull request #380 from mitchellh/goonz/non-native-fullscreen-menu-options
...
macos: add hidden-menu/visible-menu non-native-fullscreen opts
2023-09-02 07:51:44 -07:00
Will Pragnell
f6e2b50732
macos: fix non-native-fullscreen menu & dock visibility bugs
2023-09-01 21:45:45 -07:00
Will Pragnell
86122624e0
macos: add visible-menu non-native-fullscreen option
2023-09-01 21:45:45 -07:00
Mitchell Hashimoto
7408971d6d
Merge pull request #379 from mitchellh/macos12-horror
...
macos: hacks to grab surface focus on macOS 12
2023-09-01 16:40:58 -07:00
Mitchell Hashimoto
e0015a0d00
macos: hacks to grab surface focus on macOS 12
...
See comment in code.
2023-09-01 16:23:30 -07:00
Mitchell Hashimoto
508f17bdef
update README to hide glfw
2023-09-01 15:07:56 -07:00
Mitchell Hashimoto
b67811d3c8
Merge pull request #376 from mitchellh/macos-color-space
...
macos: default to sRGB color space
2023-09-01 15:06:02 -07:00
Karol Bakunowski
d7072cd29e
macos: default to sRGB color space
2023-09-01 15:05:16 -07:00
Mitchell Hashimoto
4ae1f821d2
Merge pull request #375 from mitchellh/macos-free
...
macos: break reference cycle to window to allow window to free memory
2023-09-01 09:25:51 -07:00
Mitchell Hashimoto
d945640401
macos: break reference cycle to window to allow window to free memory
...
Fixes #366
The comment in the Swift code explains what was happening here:
> I don't know if this is the right place, but because of WindowAccessor in our
> SwiftUI hierarchy, we have a reference cycle between view and window and windows
> are never freed. When the window is closed, the window controller is deinitialized,
> so we can use this opportunity detach the view from the window and break the cycle.
An alternate solution would be to make our reference back to the window
"weak" but we appear to not be able to do that with SwiftUI property
wrappers such as `@State` and `@Binding` and so on.
2023-09-01 09:12:03 -07:00
Mitchell Hashimoto
a6007cab7a
terminal: fix unimplemented origin mode check
2023-09-01 08:46:53 -07:00
Mitchell Hashimoto
6bb3885271
Merge pull request #373 from mitchellh/update-libxev
...
update libxev to fix CPU issue on macos
2023-09-01 08:29:20 -07:00
Mitchell Hashimoto
dcb7b024fd
update libxev to fix CPU issue on macos
2023-09-01 08:23:38 -07:00
Mitchell Hashimoto
44fdcc4948
Merge pull request #370 from mitchellh/random-crash
...
Multiple fixes to bugs found while reading random bytes
2023-08-31 21:25:32 -07:00
Mitchell Hashimoto
3bd77259bf
font: don't use intCast on index
...
This is a weird one. By using intCast on the `idx` I am periodically
getting a panic on index out of bounds where the index is larger than
FontIndex can possibly be. Very strange!
I tried to just remove intCasts and believe it or not that worked.
Previously, `cat /dev/urandom` would trigger the issue in seconds and
now I've had it running 20+ minutes without the issue.
The additional `if` check is just a safety mechanism
2023-08-31 21:16:56 -07:00
Mitchell Hashimoto
36756cc866
terminal: charset table should be len 256, not 255
2023-08-31 20:45:13 -07:00
Mitchell Hashimoto
f4fef559fb
terminal: delete lines outside of scroll region should do nothing
2023-08-31 20:41:32 -07:00
Mitchell Hashimoto
65246327dd
terminal: add more assertions
2023-08-31 19:45:22 -07:00
Mitchell Hashimoto
6c13627d51
terminal: delete chars (CSI P) tested, fixes many issues
2023-08-31 19:42:23 -07:00
Mitchell Hashimoto
0aebf1e406
terminal: CSI S allows for count greater than scroll region height
2023-08-31 17:52:22 -07:00
Mitchell Hashimoto
d05381db83
remove some unreachables, log errors to avoid crashes
...
These are still TODO but we don't want to crash on bad input.
2023-08-31 14:55:27 -07:00
Mitchell Hashimoto
2d6fae0466
Merge pull request #369 from mitchellh/kitty-page-up
...
input: kitty keymap was missing page up/down
2023-08-31 14:36:01 -07:00
Mitchell Hashimoto
67bc9f59ed
input: kitty keymap was missing page up/down
2023-08-31 14:32:42 -07:00