summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-05-10Add support for simple menus usable with mouse or keyboard. New commandnicm
display-menu shows a menu (bound to the mouse on status line by default) and a couple of extra formats for the default menus.
2019-05-10Add a function to draw a simple menu onto a screen.nicm
2019-05-09Save mouse buttons as well as position.nicm
2019-05-09send-keys also needs to insert key commands in the right order.nicm
2019-05-09Change swap-window -d to be the other way round (stay with src window),nicm
so it works like swap-pane.
2019-05-09Add formats to show if pane is the marked pane and if any marked pane is set.nicm
2019-05-08Add a flag to redraw only the overlay, and remove the overlay on resize.nicm
2019-05-08Adjust how mouse targets are found so they always have a session, windownicm
and pane.
2019-05-07Move around the display-panes identify code to make it a bit morenicm
generic and hide the display-panes specific bits into cmd-display-panes.c.
2019-05-07Adjust the same bit to adjust the selection for history-top andnicm
history-bottom as for cursor-up and cursor-down. GitHub issue 1723.
2019-05-07Rename the ENVIRONMENT section which was squatting on the standardschwarze
manual page section and create a new ENVIRONMENT with the expected content. Move some information that was misplaced below the -u flag into that new section. Feedback and OK nicm@ jmc@ tb@
2019-05-07Treat keys in identify mode (display-panes) specially and handle themnicm
immediately rather than queuing them (the command can block the queue which means they were not being seen until it finished which was too late). Reported by denis@ and solene@, ok solene@.
2019-05-07Do not use evbuffer_add_buffer because it is destructive and doesn'tnicm
work in newer libevent.
2019-05-03Fix order of insertion in load_cfg.nicm
2019-05-03Allow panes to be empty (no command), output can be piped to them withnicm
split-window or display-message -I.
2019-05-03Insert after the right element on queue.nicm
2019-05-03Do not store the mouse position we calculate as the start of a drag backnicm
into the mouse event that later code uses, it has been adjusted and they should use the original position. GitHub issue 1710.
2019-05-03Use the right index for user-keys.nicm
2019-05-03Fix mouse positioning when the pane is not entirely visible.nicm
2019-05-03Correct ordering when adding after an existing item.nicm
2019-05-03Instead of processing keys all together, put them up on the clientnicm
command queue so they are ordered correctly with the commands that they execute.
2019-05-03Fix reverse attribute in status line, GitHub issue 1709.nicm
2019-05-02Fix up some bits about window-size that seem to have got lost.nicm
2019-05-01Remove unused variable from Thomas Adam.nicm
2019-04-30Fix user options after show-hooks merge, GitHub issue 1704.nicm
2019-04-30Don't redraw control clients, from George Nachman.nicm
2019-04-30Fix memory leak in window tree search, from Amos Bird.nicm
2019-04-29Add support for keys to jump between matching brackets - C-M-f and C-M-bnicm
in emacs, % in vi. Suggested by and help from Chris Barber in GitHub issue 1666.
2019-04-28Support multiple occurances of the same argument. Use this for a newnicm
flag -e to new-window, split-window, respawn-window, respawn-pane to pass environment variables into the newly created process. From Steffen Christgau in GitHub issue 1697.
2019-04-26Merge hooks into options and make each one an array option. This allowsnicm
multiple commands to be easily bound to one hook. set-hook and show-hooks remain but they are now variants of set-option and show-options. show-options now has a -H flag to show hooks (by default they are not shown).
2019-04-26Destroy panes before options to avoid crash when forced into a mode by anicm
hook.
2019-04-26Unbreak main-vertical and main-horizontal layouts.nicm
2019-04-25options_array_item_value cannot return NULL.nicm
2019-04-25Need a fallback for -2 for aixterm colours.nicm
2019-04-25Make options_tostring allocate its result instead of using a stacknicm
buffer (needed for something in the future).
2019-04-25Need to escape ].nicm
2019-04-25Automatically scroll if dragging to create a selection with the mousenicm
and the cursor reaches the top or bottom line.
2019-04-24Use bg not fg when adjusting for aixterm, from Ailin Nemui.nicm
2019-04-24Do not loop forever if there is a nonprintable character in the format.nicm
2019-04-23Somehow missed these bits in last commit.nicm
2019-04-23Indicate an array option with a flag rather than a special type so thatnicm
in future will not have to be strings.
2019-04-23Add -no-clear variants of copy-selection and copy-pipe which do notnicm
clear the selection after copying. Make copy-pipe clear the selection by default to be consistent with copy-selection. From Avi Halachmi.
2019-04-23Do not try to resize if the parent cell is NULL, problem reported bynicm
Sunil Nimmagadda.
2019-04-18Copy the code to infer the option type to show-options and document it.nicm
2019-04-18Pass target client and session to load_cfg from source-file so formatsnicm
work. Reported by Thomas Sattler.
2019-04-18Update session activity on focus event, from tafryn at gmail dot com.nicm
2019-04-17mark up punctuation-as-macro-args properly;jmc
2019-04-17Fix minimum size check on split and size of first cell on spread outnicm
with a pane status line.
2019-04-17Rewrite main-vertical and horizontal to use the common spread out codenicm
and to handle the case where the panes won't fit into the existing window size.
2019-04-17Set the window size as well as the layout size when using the presetnicm
layouts.