Mitchell Hashimoto
fba9d5ab61
terminal/new: style tests
2024-03-22 20:27:16 -07:00
Mitchell Hashimoto
4fa558735c
terminal/new: hash map size is part of buffer
2024-03-22 20:27:16 -07:00
Mitchell Hashimoto
040d07d476
terminal/new: nothing works but everything looks right
2024-03-22 20:27:16 -07:00
Mitchell Hashimoto
6ffe66e728
terminal/new: getOffset
2024-03-22 20:27:16 -07:00
Mitchell Hashimoto
27d0ed05ca
terminal/new: comment, remove some pubs
2024-03-22 20:27:16 -07:00
Mitchell Hashimoto
ba749e85ef
terminal/new: hash map doesn't need available
2024-03-22 20:27:16 -07:00
Mitchell Hashimoto
210be9cd0c
terminal/new: hash map has no load factor
2024-03-22 20:27:16 -07:00
Mitchell Hashimoto
3200d4cb4d
terminal/new: slapped together offset map
2024-03-22 20:27:16 -07:00
Mitchell Hashimoto
6b2ec38a05
terminal/new: remove more functions
2024-03-22 20:27:16 -07:00
Mitchell Hashimoto
1a3c617289
terminal/new: hash map remove old functions
2024-03-22 20:27:15 -07:00
Mitchell Hashimoto
11e01ab599
terminal/new: forked hash map works with fixed buffers
2024-03-22 20:27:15 -07:00
Mitchell Hashimoto
18810f89f7
terminal: copy stdlib hash_map
2024-03-22 20:27:15 -07:00
Mitchell Hashimoto
be8745c70a
terminal: bunch of junk for paged terminal
2024-03-22 20:27:14 -07:00
Mitchell Hashimoto
b7bf59d772
update zig
2024-03-22 11:15:26 -07:00
Mitchell Hashimoto
c86ae79d52
core: reset left click count if mouse reporting goes on
2024-03-20 15:58:16 -07:00
Tim Culverhouse
806b33f8f2
mouse: handle switch case '0' for left_click_count
...
A state of '0' if a valid state for the mouse click. I'm unsure *how* we
get a 0 within this branch but I was able to reliably trigger it while
clicking and dragging. We handle the state explicitly because the `else`
prong is `unreachable`. We only handle triple clicks, and in another
function we reset to 3 if the count goes above that. Add an assert to
confirm this is the case.
2024-03-20 10:57:52 -05:00
Kyungrok Chung
612d98d8f8
apprt/gtk: commit buffer before preeditchanged resets
...
When gtkInputPreeditChanged is called after gtkInputCommit, character
that should be committed is cleared. Check if there's buffered character
and send the characters directly when preedit changed.
Fix #1563
2024-03-18 21:17:40 +09:00
Jeffrey C. Ollie
654010362f
log more information about the build
2024-03-17 19:06:49 -05:00
Qwerasd
1c87bf51a0
fix(terminal/stream): correct invalid assertion
2024-03-17 15:06:31 -06:00
Mitchell Hashimoto
c2c115a768
fix some issues
2024-03-13 13:40:07 -07:00
Mitchell Hashimoto
b48d24a546
update zig
2024-03-13 09:14:12 -07:00
Mitchell Hashimoto
08f88a0c86
core: remove undefined access on variable
...
It was possible if there was no selection for `reset` to be undefined.
2024-03-10 17:29:54 -07:00
Mitchell Hashimoto
ad0f062d44
Merge pull request #1558 from mitchellh/wordboundaries
...
add more word boundary characters
2024-03-04 14:33:52 -08:00
Mitchell Hashimoto
eaa78477d5
terminal: fix tests for brackets on selectWord
2024-03-04 14:30:28 -08:00
Qwerasd
e8460fa2c2
fix(renderer): allocate enough room for fg cells
...
Previously encountered OOB when screen filled with cells with glyphs,
underlines, and strikethroughs. Also clarified comment slightly.
2024-03-03 20:26:51 -05:00
Adam Stephens
59485713b4
screen/selectword: add more boundary characters
2024-02-29 22:30:30 -05:00
Krzysztof Wolicki
f4e8982e5c
Windows Utf8 -> Wtf8
2024-02-26 18:01:06 +01:00
Jack N
fab3490d6e
add gtk-tabs-location
2024-02-25 22:56:33 -08:00
Mitchell Hashimoto
3587ca5c65
Merge pull request #1544 from ProfOak/linux-specific-paste-selection
...
Move selection paste to linux config section
2024-02-24 13:38:00 -08:00
Mitchell Hashimoto
796d1312ff
font/sprite: rect must be smaller than canvas dims
2024-02-24 13:19:49 -08:00
Mitchell Hashimoto
759c8cddb4
font/sprite: test for thick underline, assertion on x/y for rect
2024-02-24 09:30:04 -08:00
em-dash
0f19251aa6
fix crash in underline drawing math
2024-02-24 20:49:51 +11:00
ProfOak
f7911937ec
Move selection paste to linux config section
2024-02-21 22:37:05 -06:00
Mitchell Hashimoto
a0c43a8566
Merge pull request #1542 from ProfOak/paste-on-selection
...
Add keybind support for shift+insert selection paste
2024-02-21 19:27:31 -08:00
Tim Culverhouse
534f97dff0
terminfo: remove completed todo
...
OSC4 has been implemented. Remove this todo
2024-02-21 20:21:59 -06:00
ProfOak
96daf97d19
Add keybind support for shift+insert selection paste
2024-02-21 19:33:05 -06:00
Krzysztof Wolicki
4add6889d8
Update to new compress.zlib API
2024-02-20 16:43:02 -08:00
Mitchell Hashimoto
793b657ca8
kitty-gfx: deletion should mark image state dirty to force redraw
...
Fixes #1537
2024-02-18 19:45:18 -08:00
Gregory Anders
cff9671bdf
Omit release events for backspace, enter, and tab if report_all is unset
2024-02-18 09:43:05 -06:00
Mitchell Hashimoto
1170cee550
input: encode ctrl+shift+<ascii letter> in CSIu as lowercase + shift
...
This follows a specific behavior Kitty has, but no other terminal seems
to have, but it is a reasonable behavior that is in use by real programs
as found by our beta testing community.
We diverge from Kitty though in that we only apply this to ASCII
letters. Kitty does not CSIu encode special characters like `@` or `$`.
For these characters, Ghostty still encodes it as specified by fixterms.
2024-02-17 13:45:49 -08:00
Mitchell Hashimoto
4c4d01edc9
Merge pull request #1531 from mitchellh/shifted
...
input: send shifted uppercase ASCII letters as CSIu
2024-02-17 11:22:21 -08:00
Mitchell Hashimoto
4a6ba59f73
input: send shifted uppercase ASCII letters as CSIu
...
Related to #1507
The comments in this change have most of the detail. The primary gist:
- caps-lock is handled correctly so #1501 is still fixed
- only characters pressed with the shift key are affected
2024-02-17 08:39:27 -08:00
Felipe Coury
733f4464c3
docs: correct MacOS location for themes on config docs
2024-02-17 10:53:27 -03:00
Mitchell Hashimoto
f7a9879579
build: fix issue for long branch names
2024-02-16 13:59:42 -08:00
Ryan Cao
56ebc78b8a
docs: document the text
action for keybind
2024-02-16 17:40:43 +08:00
Mitchell Hashimoto
3d26d3813d
Merge pull request #1522 from mitchellh/metal-occlusion
...
macOS: send occluded state to renderers, trigger draw on visible
2024-02-13 22:02:00 -08:00
Mitchell Hashimoto
239a517710
Revert "renderer/metal: start extracting "visible" resources"
...
This reverts commit 0c1d288142a0d0bf31be13999e89bdc08bd18fb9.
2024-02-13 21:57:55 -08:00
Mitchell Hashimoto
387e5b242e
Revert "renderer/metal: cache buf cells"
...
This reverts commit 9f6db11b95f1bfed79f9b653f2ffb2be81cfc158.
2024-02-13 21:57:50 -08:00
Mitchell Hashimoto
b602eba61b
Revert "renderer/metal: move shaders to cached state"
...
This reverts commit bef83446d1cff42946c2a242e3c645350d00c574.
2024-02-13 21:57:49 -08:00
Mitchell Hashimoto
e10e45a935
Revert "renderer/metal: free resources when occluded"
...
This reverts commit b5d543705de4ea42407db9e2d49ae03f3ae5cf14.
2024-02-13 21:57:46 -08:00