Skip to content

Add more readline shortcuts and make ^U work like readline#425

Merged
Rigellute merged 4 commits into
Rigellute:masterfrom
fratajczak:master
May 4, 2020
Merged

Add more readline shortcuts and make ^U work like readline#425
Rigellute merged 4 commits into
Rigellute:masterfrom
fratajczak:master

Conversation

@fratajczak
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Owner

@Rigellute Rigellute left a comment

Choose a reason for hiding this comment

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

This looks like a nice addition - only got one request to change to something other than using Ctrl('c') since this is the global exit key for the app.

Comment thread src/handlers/input.rs Outdated
@fratajczak
Copy link
Copy Markdown
Contributor Author

Maybe Ctrl-L (Clear screen in readline) ?

@Rigellute
Copy link
Copy Markdown
Owner

Ctrl-l sounds good 👍

fratajczak added 3 commits May 4, 2020 12:21
Previously, it would delete the whole line. Now it deletes only the part
of the line before the cursor and Ctrl-L deletes the whole line.
@fratajczak
Copy link
Copy Markdown
Contributor Author

I just changed it, should be OK now!

Copy link
Copy Markdown
Owner

@Rigellute Rigellute left a comment

Choose a reason for hiding this comment

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

Great work @fratajczak, I just checked out your branch and it's looking good!

I have one more request, would you mind adding these new bindings to the help menu? (src/ui/help.rs around line 67)

Thanks for your work

@fratajczak fratajczak requested a review from Rigellute May 4, 2020 11:40
Copy link
Copy Markdown
Owner

@Rigellute Rigellute left a comment

Choose a reason for hiding this comment

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

Thanks once again @fratajczak, and good work 👍

@Rigellute
Copy link
Copy Markdown
Owner

@all-contributors please add @fratajczak for code

@allcontributors
Copy link
Copy Markdown
Contributor

@Rigellute

I've put up a pull request to add @fratajczak! 🎉

@Rigellute Rigellute merged commit 851e93b into Rigellute:master May 4, 2020
nighi pushed a commit to nighi/spotify-tui that referenced this pull request Jul 11, 2025
Add more readline shortcuts and make ^U work like readline
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.

2 participants