settings: bind backspace actions also to Ctrl-H

This commit is contained in:
Andrzej Rybczak
2012-08-16 17:07:49 +02:00
parent fbd4a0484e
commit 3750533026
2 changed files with 3 additions and 1 deletions

View File

@@ -133,7 +133,7 @@ std::string Help::DisplayKeys(const ActionType at)
result += " ";
}
}
result.resize(12, ' ');
result.resize(16, ' ');
return result;
}

View File

@@ -172,6 +172,8 @@ void NcmpcppKeys::GenerateKeybindings()
BIND('P', aPause);
BIND('>', aNextSong);
BIND('<', aPreviousSong);
BIND(KEY_CTRL_H, aJumpToParentDir);
BIND(KEY_CTRL_H, aReplaySong);
BIND(KEY_BACKSPACE, aJumpToParentDir);
BIND(KEY_BACKSPACE, aReplaySong);
BIND(KEY_BACKSPACE_2, aJumpToParentDir);