Treat terminal more like an editor #25482
Replies: 5 comments
-
Nifty. I wonder exactly how Warp and Kitty have implemented this. Native MacOS Terminal, Alacritty and others have some support for mouse events (via ANSI events, google
|
Beta Was this translation helpful? Give feedback.
-
There's two main articles from Warp on how they handle input as well as how terminals are generally implemented: Based on this, I'll update the issue with what I think we need. |
Beta Was this translation helpful? Give feedback.
-
Seems like this is close enough to my feature request: on macOS Terminal.app, you can position the cursor by option-clicking. I rely on this feature heavily. I'd like the behavior to match so it's not jarring switching between different apps. I think VS Code is also consistent here. |
Beta Was this translation helpful? Give feedback.
-
I'm moving this to a discussion, but preserving the scoped request for |
Beta Was this translation helpful? Give feedback.
-
Maybe, instead of implementing a new terminal in-house, Zed can make use of existing implementations. The |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Check for existing issues
Describe the feature
When editing a shell command, I'd love to be able to click into the middle of the text to position my cursor.
Most terminal emulators don't support this, except for Warp and Kitty. I would love for the feel of the terminal to match the seamless fluid feel of the editor.
The following is what I think we need for this feature
Mouse-based cursor positioning
Full text editor capabilities for command input
Visual enhancements
Maintain shell compatibility
precmd
,preexec
)If applicable, add mockups / screenshots to help present your vision of the feature
Here's a totally fake way to show it
Area.mp4
I'd love if the cursor was a
|
too instead of a block.Beta Was this translation helpful? Give feedback.
All reactions