ZIm/crates/terminal_view/src
Kirill Bulatov 5268e74315
Properly handle goto single file worktrees during terminal cmd-clicks (#26582)
Closes https://github.com/zed-industries/zed/issues/26431
Follow-up of https://github.com/zed-industries/zed/pull/26174

`path_with_position.path.strip_prefix(&worktree_root)` used in the PR is
wrong for cases of single-file worktrees, where it will return empty
paths that will result in incorrect project and FS entries accessed.

Release Notes:

- Fixed goto single file worktrees during terminal cmd-clicks
2025-03-12 19:38:21 +00:00
..
persistence.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
terminal_element.rs Improve terminal hover tooltips (#26487) 2025-03-12 00:17:12 +02:00
terminal_panel.rs terminal: Update terminal reopening from global to per-workspace (#25336) 2025-02-22 00:05:52 +05:30
terminal_scrollbar.rs scrollbar: Implement minimum thumb size (#25288) 2025-02-21 15:21:26 +05:30
terminal_tab_tooltip.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
terminal_view.rs Properly handle goto single file worktrees during terminal cmd-clicks (#26582) 2025-03-12 19:38:21 +00:00