Mitchell Hashimoto
ab4acf0d00
core: send mouse motion events if motion tracking and button pressed
2023-09-17 11:45:53 -07:00
Mitchell Hashimoto
d6b827cce7
core: all SGR mouse report modes can tell button differences
...
Fixes #478
2023-09-17 10:24:51 -07:00
Mitchell Hashimoto
083e42f5d2
Merge pull request #477 from mitchellh/notcurses-input
...
notcurses-input bugs
2023-09-17 10:08:17 -07:00
Mitchell Hashimoto
dd85f6c41d
core: do not emit mouse report events if position is outside surface
2023-09-17 09:56:26 -07:00
Mitchell Hashimoto
8694d29bd0
terminal: ignore CSI S with intermediates
2023-09-17 09:39:03 -07:00
Mitchell Hashimoto
ad23a7a2c9
terminal/kitty-gfx: erase all should preserve storage limit size
2023-09-17 09:27:01 -07:00
Mitchell Hashimoto
a851483d08
Merge pull request #474 from mitchellh/gtk-refactor
...
GTK refactor, ability to drag tab out to new window
2023-09-16 12:41:12 -07:00
Mitchell Hashimoto
84da10a9b3
apprt/gtk: don't use userdata for pages, can request on demand
...
This is important to keep it in sync if the gl area moves
2023-09-16 12:11:10 -07:00
Mitchell Hashimoto
cf84a5513f
apprt/gtk: listen to page-removed to hide tab bar if only one
2023-09-16 11:48:33 -07:00
Mitchell Hashimoto
5dc0746a17
gtk: tabs are draggable to the desktop to extract a window
2023-09-16 11:30:22 -07:00
Mitchell Hashimoto
0cf2ed6a9f
renderer/opengl: gl state init needs to set blending, realization
2023-09-16 11:26:07 -07:00
Mitchell Hashimoto
f7272d506e
apprt/gtk: handle scenario where OpenGL area becomes unrealized
2023-09-16 09:38:28 -07:00
Mitchell Hashimoto
a19acf14d2
renderer/opengl: support reloading the Opengl state
2023-09-16 09:37:29 -07:00
Mitchell Hashimoto
58100f0a00
renderer/opengl: OpenGL state may be nil to disable rendering
2023-09-16 09:08:35 -07:00
Mitchell Hashimoto
d2fa79effb
apprt/gtk: shuffle some lines around in Window
2023-09-16 08:32:32 -07:00
Mitchell Hashimoto
35c956fd05
apprt/gtk: Window css styling is no longer used
2023-09-16 08:29:15 -07:00
Mitchell Hashimoto
d5036e78f4
apprt/gtk: refactor into separate files
2023-09-16 08:28:49 -07:00
Mitchell Hashimoto
cbbafc70e2
gtk: set Name for new-window action
2023-09-15 22:10:06 -07:00
Mitchell Hashimoto
e0691cfcfa
Merge pull request #461 from mitchellh/goonz/windows-path-and-tmpdir
...
Windows: implement tmpDir and expandPath
2023-09-15 17:15:46 -07:00
Mitchell Hashimoto
23054dc393
main: only check for CLI actions on non-lib builds
2023-09-15 17:14:12 -07:00
Mitchell Hashimoto
1327028d44
Merge pull request #471 from mitchellh/mode-warning
...
macos, gtk: show warning when running with debug build
2023-09-15 16:03:04 -07:00
Will Pragnell
8f2ab46e1e
windows: use cross platform consts where available
2023-09-15 16:01:33 -07:00
Mitchell Hashimoto
2dccf4596a
macos: consistent text
2023-09-15 15:58:14 -07:00
Mitchell Hashimoto
120588fb62
apprt/gtk: show warning when running debug version
2023-09-15 15:57:51 -07:00
Mitchell Hashimoto
f8fea2f65b
macos: show warning in debug mode
2023-09-15 15:40:41 -07:00
Mitchell Hashimoto
78613e059a
Merge pull request #470 from mitchellh/cli-actions
...
`--version` and general framework for CLI subcommands
2023-09-15 15:11:48 -07:00
Mitchell Hashimoto
de0f71c6a1
c api: add ghostty_info to get metadata about the build
2023-09-15 12:32:41 -07:00
Mitchell Hashimoto
07481fe703
output more information for version
2023-09-15 12:22:35 -07:00
Mitchell Hashimoto
e11299a775
cli actions can be "+<name>"
2023-09-15 12:17:59 -07:00
Mitchell Hashimoto
bcd88619c6
can enable logging for CLI actions with GHOSTTY_LOG env var
2023-09-15 12:15:12 -07:00
Mitchell Hashimoto
26313bc85d
do not write logs to stderr for cli actions
2023-09-15 09:27:48 -07:00
Mitchell Hashimoto
dbfedd2400
Add --version for outputting version, framework for more actions
2023-09-15 09:17:58 -07:00
Mitchell Hashimoto
0ac1010d5a
Merge pull request #467 from rockorager/gtk-close
...
gtk: handle all close-requests
2023-09-15 07:36:10 -07:00
Mitchell Hashimoto
2f23211062
Merge pull request #466 from rockorager/desktop
...
linux: don't presume install location in desktop file
2023-09-15 07:35:04 -07:00
Tim Culverhouse
de5c416341
gtk: handle all close-requests
...
When compiling in any Release mode, the default gtk close-request
handler does not properly fire. We only rely on the default handler if
we aren't confirming the close. Replace the default handler with our own
in all cases (and just destroy the window if we don't need
confirmation).
Fixes #458
2023-09-15 04:31:50 -05:00
Tim Culverhouse
6484c34bec
linux: don't presume install location in desktop file
...
The app.desktop file shipped with the default build presumes the install
location of the binary. Let the OS determine the executable through it's
normal PATH variables.
2023-09-15 03:22:48 -05:00
Mitchell Hashimoto
64d2aa67f3
Merge pull request #464 from mitchellh/goonz/jump_to_prompt_doc_fix
...
Fix references to jump_to_prompt binding
2023-09-14 21:04:05 -07:00
Will Pragnell
7db562e300
fix references to jump_to_prompt binding
2023-09-14 20:52:19 -07:00
Will Pragnell
d700fb6fc7
windows: implement expandPath
2023-09-14 20:48:09 -07:00
Will Pragnell
57894786d4
windows: implement tmpDir
2023-09-14 20:48:09 -07:00
Mitchell Hashimoto
ef9ed48434
Merge pull request #463 from mitchellh/osc52-invalid
...
core: resiliency to invalid base64 data for OSC 52
2023-09-14 20:33:51 -07:00
Mitchell Hashimoto
89e038e42b
Merge pull request #462 from mitchellh/hide-mouse
...
Option to hide mouse cursor while typing
2023-09-14 20:14:39 -07:00
Mitchell Hashimoto
70420fe0d6
core: resiliency to invalid base64 data for OSC 52
...
Fixes #460
2023-09-14 20:13:13 -07:00
Mitchell Hashimoto
a7bc570204
update config docs around mouse-hide-while-typing
2023-09-14 19:55:01 -07:00
Mitchell Hashimoto
a5a93013b3
if mouse hide setting changes to false, show mouse immediately
2023-09-14 19:54:28 -07:00
Mitchell Hashimoto
54f58d9cd2
apprt/gtk: implement hide cursor
2023-09-14 19:45:20 -07:00
Mitchell Hashimoto
724900f143
macos: implement setCursorVisibility
2023-09-14 19:37:30 -07:00
Mitchell Hashimoto
a7e8b7559e
mouse-hide-while-typing config and glfw implementation
2023-09-14 17:36:21 -07:00
Mitchell Hashimoto
64f3b4bb93
Merge pull request #453 from mitchellh/cc-osc-10-11
...
Implement OSC 10 and OSC 11 default color queries
2023-09-14 13:19:13 -07:00
Mitchell Hashimoto
14724290d8
config: change osc-color-report-format enum
2023-09-14 13:15:09 -07:00