summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@lavabit.com>2010-01-19 10:05:56 +0100
committerLars-Dominik Braun <PromyLOPh@lavabit.com>2010-01-19 10:05:56 +0100
commit1ebe213fb1634e18aef79067c3ea211088c2b6a5 (patch)
tree2b7162ae0512ac945b2b8f166caa82dadbde51a2
parentc8f55e392b8cb387a9476a922dea4f390f39f28c (diff)
downloadpianobar-windows-1ebe213fb1634e18aef79067c3ea211088c2b6a5.tar.gz
pianobar-windows-1ebe213fb1634e18aef79067c3ea211088c2b6a5.tar.bz2
pianobar-windows-1ebe213fb1634e18aef79067c3ea211088c2b6a5.zip
Remove abort keybinding
You can always hit enter to abort.
-rw-r--r--src/ui.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ui.c b/src/ui.c
index 575bdc5..93c2b4e 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -271,9 +271,8 @@ char *BarUiSelectMusicId (PianoHandle_t *ph, FILE *curFd, char *similarToId) {
BarUiMsg (MSG_NONE, "\r");
if (searchResult.songs != NULL && searchResult.artists != NULL) {
/* songs and artists found */
- BarUiMsg (MSG_QUESTION, "Is this an [a]rtist or [t]rack name? "
- "Press c to abort. ");
- BarReadline (selectBuf, sizeof (selectBuf), "atc", 1, 0, curFd);
+ BarUiMsg (MSG_QUESTION, "Is this an [a]rtist or [t]rack name? ");
+ BarReadline (selectBuf, sizeof (selectBuf), "at", 1, 0, curFd);
if (*selectBuf == 'a') {
tmpArtist = BarUiSelectArtist (searchResult.artists, curFd);
if (tmpArtist != NULL) {