mirror of git://git.sv.gnu.org/nano.git
bindings: don't hard-bind ^H in the help viewer or the file browser
Hard-binding the ^H control code prevents the user from rebinding
the keystroke.
This fixes https://savannah.gnu.org/bugs/?56995.
Bug existed since version 4.0, commit 72a49dbb
.
This commit is contained in:
parent
72b13adeff
commit
ff0e01a69e
|
@ -453,7 +453,6 @@ functionptrtype parse_browser_input(int *kbinput)
|
||||||
{
|
{
|
||||||
if (!meta_key) {
|
if (!meta_key) {
|
||||||
switch (*kbinput) {
|
switch (*kbinput) {
|
||||||
case BS_CODE:
|
|
||||||
case '-':
|
case '-':
|
||||||
return do_page_up;
|
return do_page_up;
|
||||||
case ' ':
|
case ' ':
|
||||||
|
|
|
@ -547,7 +547,6 @@ functionptrtype parse_help_input(int *kbinput)
|
||||||
{
|
{
|
||||||
if (!meta_key) {
|
if (!meta_key) {
|
||||||
switch (*kbinput) {
|
switch (*kbinput) {
|
||||||
case BS_CODE:
|
|
||||||
case '-':
|
case '-':
|
||||||
return do_page_up;
|
return do_page_up;
|
||||||
case ' ':
|
case ' ':
|
||||||
|
|
Loading…
Reference in New Issue