Nicholas Marriott
955d9d22b9
Add static build.
2020-05-03 11:09:36 +01:00
Nicholas Marriott
daef6f6b67
Merge branch '3.1b-rc'
2020-05-03 10:49:35 +01:00
Nicholas Marriott
846b99e0cb
Portable does not need sys/queue.h.
2020-05-03 10:49:16 +01:00
Nicholas Marriott
d9a4449307
Do not need to work out status line offset, we already have it.
2020-05-02 16:44:31 +01:00
Nicholas Marriott
af69289e0e
Clamping to area needs to use the offset without the status line, since that is
...
where the window offsets are based.
2020-05-02 16:17:44 +01:00
Nicholas Marriott
cb1131a294
menu_mode_cb needs to return a screen also.
2020-05-02 15:15:52 +01:00
Nicholas Marriott
e078f975c5
Update CHANGES.
2020-05-01 18:24:20 +01:00
Nicholas Marriott
bf84359dfb
Use VIS_CSTYLE for paste buffers also.
2020-05-01 17:59:13 +01:00
Nicholas Marriott
1fa9bcc183
Turn off overlay check when we know we are inside.
2020-05-01 17:55:08 +01:00
Nicholas Marriott
3f1fc9cde3
Get the whole overlay screen not just the mode so cursor changes are included.
2020-05-01 17:30:28 +01:00
Nicholas Marriott
8110c7a25f
Do not hoke into struct window_pane from the tty code and instead set
...
everything up in tty_ctx. Provide a way to initialize the tty_ctx from a
callback and use it to let popups draw directly through input_parse in the same
way as panes do, rather than forcing a full redraw on every change.
2020-05-01 17:01:36 +01:00
Nicholas Marriott
dbebdb2d36
Rename tty_pane_full_width to tty_full_width.
2020-05-01 13:22:08 +01:00
Nicholas Marriott
93dca5ab3f
Move size to tty_ctx.
2020-05-01 13:19:05 +01:00
Nicholas Marriott
5ce194f15d
Rename some tty_ctx members.
2020-05-01 13:01:55 +01:00
Nicholas Marriott
af21e76fdb
Add -e for new-session.
2020-05-01 12:01:58 +01:00
Nicholas Marriott
ec61aa3025
Solaris at least does not have _PATH_VI.
2020-05-01 09:11:56 +01:00
Nicholas Marriott
5c888e168e
Typo in man page.
2020-05-01 09:05:56 +01:00
Nicholas Marriott
cc19203be2
Add 'e' key in buffer mode to open the buffer in an editor.
2020-05-01 09:02:44 +01:00
Thomas Adam
7af5817245
Merge branch 'obsd-master'
2020-04-30 16:01:27 +01:00
Nicholas Marriott
3d33a19102
Merge tag '3.1b'
...
3.1b
2020-04-30 15:21:47 +01:00
Nicholas Marriott
6a33a12798
Do not remove the automatic-rename option from the global set, only from
...
the window (it must stay in the global set or tmux will crash). GitHub
issue 2188.
2020-04-30 15:20:08 +01:00
Nicholas Marriott
8e01221d02
Allow formats for message-style.
2020-04-30 14:59:58 +01:00
Nicholas Marriott
272f3dbf2e
Use format for status-style.
2020-04-30 14:56:46 +01:00
nicm
048f1ff18a
Do not remove the automatic-rename option from the global set, only from
...
the window (it must stay in the global set or tmux will crash). GitHub
issue 2188.
2020-04-30 13:31:22 +00:00
Nicholas Marriott
66bab1f6cf
Complete partial window indexes properly.
2020-04-30 13:05:21 +01:00
Nicholas Marriott
25487757bc
Add -W and -T flags to command-prompt to only complete a window and a target.
2020-04-30 12:02:21 +01:00
Nicholas Marriott
5af6943940
Complete aliases as well as commands.
2020-04-29 19:55:20 +01:00
Nicholas Marriott
7324442b42
Add to CHANGES.
2020-04-29 19:48:26 +01:00
Nicholas Marriott
6f700904a9
Copy mode search improvements:
...
- Add styles for the search marking styles (copy-mode-match-style and
copy-mode-current-match-style).
- Show the current match (the one with the cursor on it) in a different style.
- Copying without a selection will copy the current match if there is one.
2020-04-29 18:08:21 +01:00
Nicholas Marriott
881b8e9bb5
Handle cells outside any pane correctly.
2020-04-29 16:50:20 +01:00
Nicholas Marriott
a9743fa047
Did not mean to commit this bit.
2020-04-29 15:27:38 +01:00
Nicholas Marriott
04033add19
Close menu on backspace with TAB flag.
2020-04-29 15:26:49 +01:00
Nicholas Marriott
d9fa122fd2
Do not want -O0 by default.
2020-04-29 15:21:15 +01:00
Nicholas Marriott
fe601e5417
Update CHANGES.
2020-04-29 15:19:39 +01:00
Nicholas Marriott
b06235c345
Improve command prompt completion:
...
- Show a menu with completions if there are multiple.
- Don't complete argument stuff (options, layouts) at start of text.
- For -t and -s, if there is no : then complete sessions but if there is a :,
show a menu of all windows in the session rather than trying to complete the
window name which is a bit useless if there are duplicates.
Lots of scope for being more sophisticated left here.
2020-04-29 13:56:10 +01:00
Nicholas Marriott
7c52d702e4
Remove an unnecessary comma.
2020-04-29 08:59:20 +01:00
Nicholas Marriott
3d76748161
Need to redraw borders now when some things change. Also change default so that
...
the active border colour is different in a mode or with synchronize-panes on.
2020-04-29 08:55:21 +01:00
Nicholas Marriott
2d151d8ca5
Apply format to pane status line also.
2020-04-29 08:24:09 +01:00
Nicholas Marriott
24316bed49
Apply a format when redrawing pane borders.
2020-04-29 08:21:29 +01:00
Nicholas Marriott
c1acfb4341
Start with style initialized to default.
2020-04-28 17:27:07 +01:00
Nicholas Marriott
1f8256fc50
Drop having a separate type for style options and make them all strings, which
...
allows formats to be expanded. Any styles without a '#{' are still validated
when they are set but any with a '#{' are not. Formats are not expanded
usefully in many cases yet, that will be changed later.
To make this work, a few other changes:
- set-option -a with a style option automatically appends a ",".
- OSC 10 and 11 don't set the window-style option anymore, instead the fg and
bg are stored in the pane struct and act as the defaults that can be
overridden by window-style.
- status-fg and -bg now override status-style instead of trying to keep them in
sync.
2020-04-28 13:50:07 +01:00
Nicholas Marriott
a43a156846
Call format_defaults_window for panes as well.
2020-04-28 10:53:35 +01:00
Nicholas Marriott
79b4d83952
Use a grid cell not a style for the pane style.
2020-04-27 15:15:12 +01:00
Nicholas Marriott
c30e765c7b
Add some additional format helper functions.
2020-04-27 14:33:17 +01:00
Thomas Adam
e62db55713
Merge branch 'obsd-master'
2020-04-27 10:01:27 +01:00
Nicholas Marriott
266bbba484
Merge branch '3.1a-rc'
2020-04-27 09:39:17 +01:00
Nicholas Marriott
d0fa520788
Update CHANGES.
2020-04-27 09:38:04 +01:00
Nicholas Marriott
646bfe403e
Do not close stdout file descriptor in control mode since it will be needed for
...
printing the exit messages.
2020-04-27 09:36:30 +01:00
nicm
1574126e8a
Do not close the stdout file descriptor in control mode as it will be
...
needed for printing the exit messages. Fixes a bug when detaching with
iTerm2.
2020-04-27 08:35:09 +00:00
Nicholas Marriott
5811dd7ceb
Do not close stdout file descriptor in control mode since it will be needed for
...
printing the exit messages.
2020-04-27 09:33:46 +01:00