settings: bind backspace actions also to Ctrl-H

master
Andrzej Rybczak 14 years ago
parent fbd4a0484e
commit 3750533026
  1. 2
      src/help.cpp
  2. 2
      src/settings.cpp

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

@ -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);

Loading…
Cancel
Save