mirror of
https://github.com/Rigellute/spotify-tui.git
synced 2026-04-26 08:05:57 +03:00
[PR #81] [MERGED] RFC: Use Vec<char> for input instead of String #596
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-tui#596
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Rigellute/spotify-tui/pull/81
Author: @fangyi-zhou
Created: 10/18/2019
Status: ✅ Merged
Merged: 10/20/2019
Merged by: @Rigellute
Base:
master← Head:input-vec📝 Commits (4)
ec56258Use Vec for input instead of Stringe2bfec2Rustfmt14f03d5Useinput_idxinstead ofinput_cursor_position8d798abFix unexpected space📊 Changes
3 files changed (+39 additions, -39 deletions)
View changed files
📝
src/app.rs(+2 -2)📝
src/handlers/input.rs(+35 -36)📝
src/ui/mod.rs(+2 -1)📄 Description
This may make it easier to handle inputs since we do not have to care
about character boundaries in Strings.
See #30
I'm not sure whether this is a good idea performance-wise, I would like
to hear your opinions
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.