[bug #19664] backspace navigation



URL:
  <http://savannah.gnu.org/bugs/?19664>

                 Summary: backspace navigation
                 Project: GNU Midnight Commander
            Submitted by: me4mc
            Submitted on: Sunday 04/22/2007 at 09:35
                Category: Keyboard input
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.6.1
        Operating System: GNU/Hurd

    _______________________________________________________

Details:

backspace does nothing if you press it and nothing is in the commandline
buffer.

expecting:
backspace clears the commandlinebuffer, if it is empty a cd.. is invoked


afaik tcmd does that by default - new user complained about mc behaviour.

this is a patched bug, you may review the patch or decide for testing. 

it introduces a new way in panel_key in screen.c that handles the backspace
key to ctrl_prev_panel() if the current commandline is empty.
to access the commandline i had to include widget.h and command.h in screen.c
- that may be a problem otherwhere.

peace



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sunday 04/22/2007 at 09:35  Name: mc-4.6.1-backspacenavigation.patch 
Size: 889B   By: me4mc
backspace navigation in  mc
<http://savannah.gnu.org/bugs/download.php?file_id=12563>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?19664>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]