Nathan Sobo
51d1d92d66
Attempt to return impl Element from render. 3 errors.
2024-01-01 14:23:02 +01:00
Nathan Sobo
a2b0f14dc1
Rename size to dimensions for consistency
2023-12-27 11:23:12 -07:00
Nathan Sobo
ddd6f0806b
Render cursor text with the terminal's background color
2023-12-27 11:08:43 -07:00
Nathan Sobo
5cfd4b06b9
Use correct terminal background color
2023-12-27 10:46:25 -07:00
Kirill Bulatov
f27c63bb54
Fix color-related terminal todo!
2023-12-26 14:11:51 +02:00
Piotr Osiewicz
16626592db
Remove allow unused from gpui2, vim2 tests and terminal_view2 ( #3813 )
...
Release Notes:
- N/A
2023-12-26 01:23:08 +01:00
Kirill Bulatov
a249375f99
Do not show nav history buttons in terminal pane
2023-12-23 22:10:11 +02:00
Kirill Bulatov
a1915ce6c4
Add spacing to terminal tab bar buttons
2023-12-23 02:29:33 +02:00
Antonio Scandurra
3715ddfa74
Use Pixels
instead of f32
for panel size
2023-12-22 18:26:33 +01:00
Kirill Bulatov
420253a752
Restore zoom buttons in pane tab bars, fix + button in the terminal one
2023-12-22 15:32:47 +02:00
Kirill Bulatov
6c4670287d
Highlight termina on external files drag and drop
2023-12-22 10:45:51 +02:00
Julia
f3fda8018f
Prevent drag-dropping non-terminal item into terminal pane
2023-12-21 17:52:29 -05:00
Antonio Scandurra
01947ed730
Use existing AnyElement::draw
2023-12-21 15:32:05 +01:00
Antonio Scandurra
5e4557ed16
Fix warnings
2023-12-21 15:27:08 +01:00
Marshall Bowers
229b5aa8f7
Style links in terminal ( #3736 )
...
This PR styles links in the terminal using the colors from the theme.
Release Notes:
- N/A
2023-12-20 10:57:15 -05:00
Kirill Bulatov
cf12d62fc5
Tidy up z-index handling
...
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
2023-12-19 23:50:42 +02:00
Kirill Bulatov
4b74f30d0a
Properly restore termina current dir when deserializing the project
2023-12-19 06:44:26 +02:00
Nathan Sobo
02606d1fb9
Merge remote-tracking branch 'origin/main' into perf-2
2023-12-14 16:56:36 -07:00
Nathan Sobo
d13a21c238
Don't move in paint
2023-12-14 15:15:18 -07:00
Mikayla
8791f7cefc
Enable dragging from project panel to panes
...
Rework gpui2 drag API so that receivers need not specify the dragged view type.
co-authored-by: Max <max@zed.dev>
co-authored-by: Conrad <conrad@zed.dev>
2023-12-14 13:20:48 -08:00
Mikayla
bfbbec0b01
Add fluent quad API
2023-12-13 13:21:48 -08:00
Kirill Bulatov
717b2885f8
Attempt to remove the dangeous element focus API
2023-12-12 15:07:27 +02:00
Marshall Bowers
f02a3e8c68
Fix inactive tab styles (the verbose way) ( #3591 )
...
This PR fixes the inactive tab style to properly show the label using
the muted text color.
I went about fixing this in the most direct way possible, but the
solution leaves a lot to be desired, IMO. I plan to explore some ideas
on how we can improve the state of styling the tab content without
having the same styles repeated all over the place and subsequently
out-of-sync.
Release Notes:
- N/A
2023-12-11 15:42:17 -05:00
Conrad Irwin
d678efe7dd
Fix some action registrations
2023-12-11 09:29:10 -07:00
Conrad Irwin
9ce7395b74
Restore impl_actions! and remove derive(Action)
2023-12-10 19:33:38 -07:00
Conrad Irwin
4290c67b6a
Restore namespace parameter to actions!
...
This does not yet fix `derive(Action)`, but will conflict with a lot so
wanted to merge quickly.
2023-12-09 15:18:31 -07:00
Julia
e9730e0b5c
zed2: Store constructed terminal tooltip
2023-12-08 15:57:22 -05:00
Julia
f0cc54a0b5
Comment the weirdness
...
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2023-12-08 14:26:02 -05:00
Julia
79e6dedb7a
Track focus shenanigans with context menu
...
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2023-12-08 13:49:42 -05:00
Julia
970c7b8987
zed2: Properly position terminal context menu & hide on dismiss
2023-12-08 12:02:31 -05:00
Kirill Bulatov
b9a904e552
Add initial OS file drag and drop support
2023-12-07 16:08:48 +02:00
Kirill Bulatov
b692b4c9c2
Do not expand terminal selections on active drag
2023-12-07 16:08:47 +02:00
Kirill Bulatov
646b74e0a7
Move actions to namespaces used in zed1 keybinding settings
2023-12-07 16:08:47 +02:00
Mikayla
66b93212fe
Fix selection backgrounds
2023-12-06 16:31:28 -08:00
Mikayla
c092cfbfb3
Fix bug with IME
...
Adjust how IME works in the terminal
co-authored-by: nathan <nathan@zed.dev>
2023-12-06 15:54:08 -08:00
Mikayla
fd31e429f5
Merge branch 'main' into terminal-element
2023-12-06 15:20:04 -08:00
Mikayla
12e7f61f62
Fix a porting bugs for terminal2
...
co-authored-by: Nathan <nathan@zed.dev>
2023-12-06 15:11:49 -08:00
Marshall Bowers
147c99f1a7
Fix layout for terminal tabs ( #3514 )
...
This PR fixes the layout for terminal tabs.
We need to use an `h_stack` here to get the icon and the label to
position themselves next to each other instead of one on top of the
other.
Release Notes:
- N/A
2023-12-06 14:28:31 -05:00
Antonio Scandurra
9eb98122ec
Merge remote-tracking branch 'origin/main' into assistant-2
2023-12-06 12:53:02 +01:00
Mikayla
735f2029e9
Add more debugging
2023-12-05 17:31:33 -08:00
Mikayla
2ee0ecb677
Add back the main structure
2023-12-05 16:52:29 -08:00
Max Brunsfeld
863222edc5
Get following working
...
Restore a single event type on Item trait, so that the workspace can
subscribe to it and handle following events.
2023-12-05 12:57:23 -08:00
Mikayla
ab140ee4c2
Add event based drag API to GPUI, continue binding mouse handlers to terminal
2023-12-05 12:07:17 -08:00
Mikayla
8d57d6ca6f
Merge branch 'main' into terminal-element
2023-12-05 09:33:46 -08:00
Antonio Scandurra
ede86d9187
WIP
2023-12-05 16:49:36 +01:00
Kirill Bulatov
16b5d4b35c
Port to gpui2
2023-12-05 16:13:39 +02:00
Conrad Irwin
1c9b984738
Remove cx param
2023-12-04 23:35:31 +00:00
Mikayla
fe83919746
Get terminal turning on
2023-12-01 17:01:57 -08:00
Mikayla
b0f9144167
Compiling layout!
...
co-authored-by: Max <max@zed.dev>
2023-12-01 16:21:12 -08:00
Mikayla
39887be7d0
WIP: layout compiling
2023-11-30 11:01:36 -08:00