Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add arrows support for search field #5416

Merged
merged 12 commits into from
Jun 14, 2024

Conversation

Mrreadiness
Copy link
Contributor

Impliment #3087 (comment)
Add support of cursor and arrows in search field

Copy link
Owner

@wez wez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for diving in, but this is a bit more complex!
Please see my inline comments!

wezterm-gui/src/overlay/copy.rs Outdated Show resolved Hide resolved
wezterm-gui/src/overlay/copy.rs Outdated Show resolved Hide resolved
wezterm-gui/src/overlay/copy.rs Outdated Show resolved Hide resolved
wezterm-gui/src/overlay/copy.rs Outdated Show resolved Hide resolved
wezterm-gui/src/overlay/copy.rs Outdated Show resolved Hide resolved
@Mrreadiness
Copy link
Contributor Author

Hey guys!
@wez Thanks for the advice. I've added LineEditBuffer.
@kenchou I've also added the Delete key and some other common key bindings.

@Mrreadiness Mrreadiness requested a review from wez June 12, 2024 21:29
@kenchou

This comment was marked as resolved.

Mrreadiness and others added 2 commits June 13, 2024 11:29
Copy link
Owner

@wez wez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! I have two minor suggestions and a question about potentially ambiguous actions!

termwiz/src/lineedit/buffer.rs Outdated Show resolved Hide resolved
wezterm-gui/src/overlay/copy.rs Outdated Show resolved Hide resolved
wezterm-gui/src/overlay/copy.rs Outdated Show resolved Hide resolved
@wez wez merged commit 72465af into wez:main Jun 14, 2024
16 of 18 checks passed
@wez
Copy link
Owner

wez commented Jun 14, 2024

Thank you!

wez added a commit that referenced this pull request Jun 14, 2024
saep pushed a commit to saep/wezterm that referenced this pull request Jul 14, 2024
* feat: add arrows support for search field
* refactor: extract LineEditBuffer from LineEditor
* refactor: migrate search field to LineEditBuffer
* feat: add key bindings for search field

Co-authored-by: Ken Chou <kenchou77@gmail.com>
saep pushed a commit to saep/wezterm that referenced this pull request Jul 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants