* 1544_segfault_launch_info_panel:
Fixed segfault during init saved Info or Tree panel.
Ticket #1544: segfault om launch MC with saved Info or Tree panel
Now Gray-* shortcut inverts selection of directories as well as files.
This is very confusing feature especially when user is going to delete
files.
Added new variable 'reverse_files_only' allows use the old behavior
of reverse selection.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
If you run without mouse support (mc -d), mc doesn't detect resizes.
You need to press a key for mc to resize itself to new window after
window is maximized or resized (press up/down arrow, Ctrl-O, almost
anything will work).
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* add keyboard shortcuts
* add showing bookmarks
Signed-off-by: Ilia Maslakov <il.smind@google.com>
* show '*' for bookmarked line (if line state showed)
Signed-off-by: Ilia Maslakov <il.smind@google.com>
first commit for support drag cursor after end of line
* change mouse movement, allow place cursor after EOL
* change vertical select
* fix: right scroll
Signed-off-by: Ilia Maslakov <il.smind@google.com>
Fixed missed includes.
Fised widget_set_size() declaration.
Moved default widget callback (default_proc()) from dialog.[ch] to widget.[ch].
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* add: switching between old (default) 1024 based "binary" prefixes
and SI (1000 based) size prefixes when displaying file sizes
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Size in SI units: changed option name and description.
* Changed option name in 'Configuration options' dialog.
* Moved description to proper section in man page.
* Added russian translation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
When viewing two file lists, if user presses C-x i for info on
a panel's directory or file, the info pops up correctly in the
other panel. However, when the user closes the info screen, the
directory of the current panel is shown -- NOT the directory
which was being viewed before the info panel appeared.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
TestCase:
* Have a mc running where you have two different directories in each panel.
* Tab, so that you are in the other panel.
* Ctrl-O to go to subshell.
* You see two different prompts printed next to each other.
Fix issue:
In function src/main.c:do_update_prompt(): added '\r\n' before show prompt.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Merge branch 'HACK_tty'
* HACK_tty: (76 commits)
TTY: use tty_print_string() instead of printw().
Added check for version of S-Lang. Minimal version is 2.0
Modified the hintbar draw update.
Fixed dialog colors definition, setup and handling.
Revert "src/help.c: minor refactoring."
TTY: removed slang1 related code.
src/help.c: minor refactoring.
src/main.c: minor refactoring
TTY: moved SIGWINCH setup function to TTY layer.
Panel: fixed width of second column in brief listing mode.
Moved do_possible_cd() function from main.c to execute.c.
Screen: moved maybe_cd() function from main.c to screen.c.
Fix after rebase.
VFS: removed unnedeed includes of tty/tty.h header.
Moved panel update functions from main.c to screen.c.
TTY: moved alternate_plus_minus variable to TTY layer.
WListbox: some draw modifications.
WListbox: removed widget sizes duplication.
Listbox window: without button, listbox only.
Listbox window: apply main menu colors to the user menu.
...
Since midnight_dlg can be invisible during screen resize,
don't update the hintbar in SIGWING signal handling function.
Now the hintbar is updated during DLG_DRAW message handling
in mignight_dlg callback.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>