CVS: cvs.openbsd.org: src

2024-07-22 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2024/07/22 09:27:42

Modified files:
usr.bin/tmux   : options.c 

Log message:
Expand full array option values if no index is provided, GitHub issue
4051.



CVS: cvs.openbsd.org: src

2024-06-24 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2024/06/24 02:30:50

Modified files:
usr.bin/tmux   : cmd-refresh-client.c input.c tmux.1 tmux.h 
 tty-keys.c window.c 

Log message:
Add a way (refresh-client -r) for control mode clients to provide OSC 10
and 11 responses to tmux so they can set the default foreground and
background colours, from George Nachman in GitHub issue 4014.



CVS: cvs.openbsd.org: src

2024-06-24 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2024/06/24 02:11:46

Modified files:
usr.bin/tmux   : grid.c 

Log message:
Check the underline style colour against the correct default value again
(it was changed from 0 to 8), from Romain Francoise.



CVS: cvs.openbsd.org: src

2024-05-24 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2024/05/24 06:41:24

Modified files:
usr.bin/tmux   : utf8.c 

Log message:
Do not escape $ unless DQ is set, that is the only case where we need to
escape it.



CVS: cvs.openbsd.org: src

2024-05-15 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2024/05/15 03:59:12

Modified files:
usr.bin/tmux   : client.c job.c tmux.c tmux.h 

Log message:
Use default-shell for command prompt #() and popups as well



CVS: cvs.openbsd.org: src

2024-05-15 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2024/05/15 02:39:30

Modified files:
usr.bin/tmux   : cmd-confirm-before.c status.c 

Log message:
Fix memory leaks reported by Lu Ming Yin.



CVS: cvs.openbsd.org: src

2024-05-14 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2024/05/14 04:11:09

Modified files:
usr.bin/tmux   : server.c tty.c 

Log message:
Add missing time.h to tty.c (from Ismail Donmez), also remove some stray
spaces.



CVS: cvs.openbsd.org: src

2024-05-14 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2024/05/14 03:32:37

Modified files:
usr.bin/tmux   : options-table.c tmux.1 window-copy.c 

Log message:
Revert part of the change for GitHub issue 3675 because it does not work
correctly, it was intended to skip lines that are already being searched
as part of a previous wrapped line but in fact is skipping all lines
except the last in wrapped lines.

Also revert the search-wrapped-lines option (I didn't realize it was
intended to work around this).



CVS: cvs.openbsd.org: src

2024-05-14 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2024/05/14 01:52:19

Modified files:
usr.bin/tmux   : cmd-queue.c options-table.c tmux.1 

Log message:
Add a command-error hook when a command fails, from Hugh Davenport in
GitHub issue 3973.



CVS: cvs.openbsd.org: src

2024-05-14 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2024/05/14 01:40:39

Modified files:
usr.bin/tmux   : options-table.c tmux.1 window-copy.c 

Log message:
Add an option to disable unwrapping lines for searching, from
meanderingprogrammer at gmail dot com, GitHub issue 3975.



CVS: cvs.openbsd.org: src

2024-05-14 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2024/05/14 01:33:01

Modified files:
usr.bin/tmux   : cmd-run-shell.c 

Log message:
Restore previous behaviour or writing to stdout if available.



CVS: cvs.openbsd.org: src

2024-05-13 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2024/05/13 05:45:05

Modified files:
usr.bin/tmux   : arguments.c 

Log message:
Fix memory leak, from Fadi Afani.



CVS: cvs.openbsd.org: src

2024-04-15 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2024/04/15 02:19:55

Modified files:
usr.bin/tmux   : arguments.c cmd-command-prompt.c 
 cmd-confirm-before.c layout-custom.c 

Log message:
Fixes for memory leaks reported by Lu Ming Yin, fixes from Howard Chu.



CVS: cvs.openbsd.org: src

2024-04-10 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2024/04/10 01:36:25

Modified files:
usr.bin/tmux   : input.c options-table.c tmux.1 tmux.h 

Log message:
Add an option allow-set-title to forbid applications from changing the
pane title, from someone in GitHub issue 3930.



CVS: cvs.openbsd.org: src

2024-04-10 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2024/04/10 01:29:15

Modified files:
usr.bin/tmux   : server-client.c 

Log message:
Correct handling of mouse up events (don't ignore all but the last
released button), and always process down event for double click. From
Rudy Dellomas III in GitHub issue 3919.



CVS: cvs.openbsd.org: src

2024-04-10 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2024/04/10 01:15:21

Modified files:
usr.bin/tmux   : window.c 

Log message:
Do not get muddled and crash if focusing a pane that is exiting,
reported by Saul Nogueras in GitHub issue 3776.



CVS: cvs.openbsd.org: src

2024-04-04 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2024/04/04 16:44:40

Modified files:
usr.bin/tmux   : server-fn.c 

Log message:
Pick newest session as documented, not oldest, from Magnus Gross.



CVS: cvs.openbsd.org: src

2024-03-26 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2024/03/26 04:20:20

Modified files:
usr.bin/tmux   : window-copy.c 

Log message:
Fix selection present check, reported by M Kelly.



CVS: cvs.openbsd.org: src

2024-03-21 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2024/03/21 06:10:57

Modified files:
usr.bin/tmux   : screen-write.c 

Log message:
Write padding character into the right position.



CVS: cvs.openbsd.org: src

2024-03-21 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2024/03/21 05:53:11

Modified files:
usr.bin/tmux   : options-table.c tmux.1 

Log message:
Reduce escape-time default to 10 milliseconds, 500 is far too long for
modern terminals and networks. Case made by Kurtis Rader in GitHub issue
3844.



CVS: cvs.openbsd.org: src

2024-03-21 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2024/03/21 05:51:32

Modified files:
usr.bin/tmux   : cmd-display-menu.c tmux.1 

Log message:
Add -M to always turn mouse on in a menu, GitHub issue 3779.



CVS: cvs.openbsd.org: src

2024-03-21 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2024/03/21 05:47:55

Modified files:
usr.bin/tmux   : tty-keys.c 

Log message:
Look for feature code 21 for DECSLRM and 28 for DECFRA in the device
attributes and also accept level 1 (there is no hardware with this but
some emulators may use it). Pointed out by James Holderness.



CVS: cvs.openbsd.org: src

2024-03-21 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2024/03/21 05:32:49

Modified files:
usr.bin/tmux   : tmux.1 window-buffer.c 

Log message:
Use -p for default paste-buffer command in buffer mode, it will only do
anything if the application asked for it. From Gregory Anders.



CVS: cvs.openbsd.org: src

2024-03-21 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2024/03/21 05:30:42

Modified files:
usr.bin/tmux   : cmd-display-panes.c cmd-resize-pane.c popup.c 
 resize.c server-fn.c tmux.h window.c 

Log message:
Do not notify window-layout-changed if the window is about to be
destroyed (since it may have been freed by the time the notify happens),
from Romain Francoise in GitHub issue 3860.



CVS: cvs.openbsd.org: src

2024-03-21 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2024/03/21 05:27:18

Modified files:
usr.bin/tmux   : cmd-detach-client.c 

Log message:
Revert detach-client part of last, did not intend this to go in.



CVS: cvs.openbsd.org: src

2024-03-21 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2024/03/21 05:26:28

Modified files:
usr.bin/tmux   : cmd-detach-client.c screen.c window-copy.c 

Log message:
Do not consider a selection present if it is empty, from Michael Grant
(GitHub issue 3869). Also a typo fix from GitHub issue 3877.



CVS: cvs.openbsd.org: src

2024-03-13 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2024/03/13 05:25:50

Modified files:
usr.bin/tmux   : tmux.1 

Log message:
Make the attach-session description clearer - do not mention creating a
client which is not important, explicitly say the session must exist,
and mention new-session and new-session -A. Prompted by Theo.



CVS: cvs.openbsd.org: src

2024-03-06 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2024/03/06 14:32:39

Modified files:
usr.bin/tmux   : cmd-split-window.c 

Log message:
Check for the right flag to fix split-window -p, from Bryan Childs.



CVS: cvs.openbsd.org: src

2024-02-13 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2024/02/13 01:10:23

Modified files:
usr.bin/tmux   : options-table.c proc.c server-fn.c tmux.1 

Log message:
Add two new values for the destroy-unattached option to destroy sessions
only if they are not members of sessions groups, from Mark Huang, GitHub
issue 3806.



CVS: cvs.openbsd.org: src

2024-02-13 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2024/02/13 01:03:50

Modified files:
usr.bin/tmux   : cmd-paste-buffer.c cmd-pipe-pane.c window.c 
 tmux.h 

Log message:
Do not allow paste into panes which have exited, from Romain Francoise
in GitHub issue 3830.



CVS: cvs.openbsd.org: src

2024-01-22 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2024/01/22 09:34:46

Modified files:
usr.bin/tmux   : style.c 

Log message:
Increase buffer size to avoid truncating styles, GitHub issue 3809 from
Ricardo Bittencourt.



CVS: cvs.openbsd.org: src

2023-12-27 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/12/27 13:42:01

Modified files:
usr.bin/tmux   : cmd-find-window.c 

Log message:
Only wrap pattern in *s if using a regular expression.



CVS: cvs.openbsd.org: src

2023-12-27 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/12/27 13:23:59

Modified files:
usr.bin/tmux   : server-client.c tmux.1 

Log message:
Remove flags from the prefix before comparing with the received key so
that modifier keys with flags work correctly, GitHub issue 3764.



CVS: cvs.openbsd.org: src

2023-12-27 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/12/27 13:20:50

Modified files:
usr.bin/tmux   : tmux.1 

Log message:
groff apparently generates broken output for some common characters in
mdoc, so escaped versions have to be used instead. From Alexis
Hildebrandt in GitHub issue 3762.



CVS: cvs.openbsd.org: src

2023-12-27 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/12/27 13:17:13

Modified files:
usr.bin/tmux   : screen.c 

Log message:
Always initialize screen mode, GitHub issue 3750 from Ding Fei.



CVS: cvs.openbsd.org: src

2023-12-27 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/12/27 13:13:36

Modified files:
usr.bin/tmux   : input.c 

Log message:
Correctly handle window ops with no pane, GitHub issue 3747.



CVS: cvs.openbsd.org: src

2023-11-14 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/11/14 13:01:11

Modified files:
usr.bin/tmux   : arguments.c 

Log message:
Don't strdup NULL filename.



CVS: cvs.openbsd.org: src

2023-11-14 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/11/14 08:59:49

Modified files:
usr.bin/tmux   : arguments.c status.c 

Log message:
Handle NULL client (in config file) when showing a status message; also
copy the file when processing if-shell since it may be freed. GitHub
issue 3746.



CVS: cvs.openbsd.org: src

2023-11-14 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/11/14 08:38:33

Modified files:
usr.bin/tmux   : tty-features.c 

Log message:
Use SM 2026 for Sync which is more widely supported now.



CVS: cvs.openbsd.org: src

2023-10-23 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/10/23 02:12:00

Modified files:
usr.bin/tmux   : screen-write.c window.c 

Log message:
Unzoom window at start of destroy so it doesn't happen later (when
destroying panes) after the layout has been freed, GitHub issue 3717.



CVS: cvs.openbsd.org: src

2023-10-17 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/10/17 04:13:54

Modified files:
distrib/sets/lists/base: mi 
distrib/sets/lists/comp: mi 
distrib/sets/lists/man: mi 

Log message:
sync, from sthen



CVS: cvs.openbsd.org: src

2023-10-17 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/10/17 04:05:46

Modified files:
share/termtypes: termtypes.master 

Log message:
Update termtypes to 6.4-20230424 with local changes.



CVS: cvs.openbsd.org: src

2023-10-17 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/10/17 03:55:32

Modified files:
usr.bin/tmux   : tty-term.c 

Log message:
Switch to tiparm_s (added in ncurses 6.4-20230424) instead of tparm,
which allows ncurses to validate the capabilities correctly.



CVS: cvs.openbsd.org: src

2023-10-17 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/10/17 03:52:11

Modified files:
gnu/lib/libreadline: shlib_version 
lib/libcurses  : Caps Makefile SigAction.h capdefaults.c 
 curs_add_wch.3 curs_add_wchstr.3 curs_addch.3 
 curs_addchstr.3 curs_addstr.3 curs_addwstr.3 
 curs_attr.3 curs_beep.3 curs_bkgd.3 
 curs_bkgrnd.3 curs_border.3 curs_border_set.3 
 curs_clear.3 curs_color.3 curs_delch.3 
 curs_deleteln.3 curs_extend.3 curs_get_wch.3 
 curs_get_wstr.3 curs_getch.3 curs_getstr.3 
 curs_getyx.3 curs_in_wch.3 curs_in_wchstr.3 
 curs_inch.3 curs_inchstr.3 curs_initscr.3 
 curs_inopts.3 curs_ins_wch.3 curs_ins_wstr.3 
 curs_insch.3 curs_insstr.3 curs_instr.3 
 curs_inwstr.3 curs_kernel.3 curs_legacy.3 
 curs_mouse.3 curs_move.3 curs_opaque.3 
 curs_outopts.3 curs_overlay.3 curs_pad.3 
 curs_print.3 curs_printw.3 curs_refresh.3 
 curs_scanw.3 curs_scr_dump.3 curs_scroll.3 
 curs_slk.3 curs_termattrs.3 curs_touch.3 
 curs_util.3 curs_window.3 curses.3 curses.h 
 curses.priv.h default_colors.3 define_key.3 
 fifo_defs.h hashed_db.h key_defined.3 
 keybound.3 keyok.3 legacy_coding.3 nc_alloc.h 
 nc_panel.h nc_tparm.h ncurses_cfg.h 
 ncurses_def.h parametrized.h resizeterm.3 
 shlib_version term.5 term.7 term.h term_entry.h 
 termcap.3 termcap.h terminfo.3 terminfo.5 tic.h 
 unctrl.h wresize.3 
lib/libcurses/base: MKkeyname.awk MKlib_gen.sh MKunctrl.awk 
define_key.c key_defined.c keybound.c 
keyok.c legacy_coding.c lib_addch.c 
lib_addstr.c lib_beep.c lib_bkgd.c lib_box.c 
lib_chgat.c lib_clear.c lib_clearok.c 
lib_clrbot.c lib_clreol.c lib_color.c 
lib_colorset.c lib_delch.c lib_delwin.c 
lib_dft_fgbg.c lib_echo.c lib_endwin.c 
lib_erase.c lib_flash.c lib_freeall.c 
lib_getch.c lib_getstr.c lib_hline.c 
lib_immedok.c lib_inchstr.c lib_initscr.c 
lib_insch.c lib_insdel.c lib_insnstr.c 
lib_instr.c lib_isendwin.c lib_leaveok.c 
lib_mouse.c lib_move.c lib_mvwin.c 
lib_newterm.c lib_newwin.c lib_nl.c 
lib_overlay.c lib_pad.c lib_printw.c 
lib_redrawln.c lib_refresh.c lib_restart.c 
lib_scanw.c lib_screen.c lib_scroll.c 
lib_scrollok.c lib_scrreg.c lib_set_term.c 
lib_slk.c lib_slkatr_set.c lib_slkatrof.c 
lib_slkatron.c lib_slkatrset.c lib_slkattr.c 
lib_slkclear.c lib_slkcolor.c lib_slkinit.c 
lib_slklab.c lib_slkrefr.c lib_slkset.c 
lib_slktouch.c lib_touch.c lib_ungetch.c 
lib_vline.c lib_wattroff.c lib_wattron.c 
lib_winch.c lib_window.c nc_panel.c 
resizeterm.c safe_sprintf.c tries.c 
use_window.c version.c vsscanf.c wresize.c 
lib/libcurses/tinfo: MKcaptab.awk MKcaptab.sh MKcodes.awk 
 MKfallback.sh MKkeys_list.sh MKnames.awk 
 access.c add_tries.c alloc_entry.c 
 alloc_ttype.c captoinfo.c comp_error.c 
 comp_expand.c comp_hash.c comp_parse.c 
 comp_scan.c db_iterator.c doalloc.c 
 entries.c free_ttype.c getenv_num.c 
 hashed_db.c home_terminfo.c init_keytry.c 
 lib_acs.c lib_baudrate.c lib_cur_term.c 
 lib_data.c lib_has_cap.c lib_kernel.c 
 lib_longname.c lib_napms.c lib_options.c 
 lib_print.c lib_raw.c lib_setup.c 
 lib_termcap.c lib_termname.c lib_tgoto.c 
 lib_ti.c lib_tparm.c lib_tputs.c 
 lib_ttyflags.c make_keys.c name_match.c 
 parse_entry.c read_entry.c 

CVS: cvs.openbsd.org: src

2023-09-19 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/09/19 02:35:44

Modified files:
usr.bin/tmux   : screen.c 

Log message:
Fix a couple of mouse mode flag names.



CVS: cvs.openbsd.org: src

2023-09-16 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/09/16 10:18:29

Modified files:
usr.bin/tmux   : tmux.1 

Log message:
Remove next- and previous-prompt added in error. GitHub issue 3696.



CVS: cvs.openbsd.org: src

2023-09-15 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/09/15 09:49:05

Modified files:
usr.bin/tmux   : screen-write.c server.c tmux.h tty.c 
 utf8-combined.c utf8.c 

Log message:
Change UTF-8 combining to inspect the previous character at the cursor
position rather than keeping the last character from the input stream,
this is how most terminals work and fixes problems with displaying these
characters in vim. GitHub issue 3600.



CVS: cvs.openbsd.org: src

2023-09-15 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/09/15 00:31:49

Modified files:
usr.bin/tmux   : cfg.c cmd-queue.c cmd-source-file.c input.c 
 tmux.1 tmux.h 

Log message:
Add -t to source-file, GitHub issue 3473.



CVS: cvs.openbsd.org: src

2023-09-15 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/09/15 00:28:15

Modified files:
usr.bin/tmux   : input.c 

Log message:
Add some more WINOPS and a placeholder for SMGRAPHICS.



CVS: cvs.openbsd.org: src

2023-09-14 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/09/14 07:01:35

Modified files:
usr.bin/tmux   : screen-write.c 

Log message:
Reset combine flag only if text is actually processed.



CVS: cvs.openbsd.org: src

2023-09-08 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/09/08 01:05:06

Modified files:
usr.bin/tmux   : tty-keys.c 

Log message:
On second thoughts, do check DA2 for DECFRA and DECSLRM since that will
catch terminals that say they are VT520 even if we can't use DA1
(because of VTE).



CVS: cvs.openbsd.org: src

2023-09-08 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/09/08 00:52:31

Modified files:
usr.bin/tmux   : format.c tty-keys.c 

Log message:
Use DECSLRM and DECFRA only at level 4 rather than checking the terminal
id.



CVS: cvs.openbsd.org: src

2023-09-07 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/09/07 04:21:46

Modified files:
usr.bin/tmux   : tty-keys.c 

Log message:
Use DECSLRM and DECFRA on terminals pretending to be VT520 or VT525 as
well as VT420.



CVS: cvs.openbsd.org: src

2023-09-07 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/09/07 01:19:21

Modified files:
usr.bin/tmux   : tty-keys.c 

Log message:
Accept 65 for VT525 as well.



CVS: cvs.openbsd.org: src

2023-09-04 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/09/04 02:01:43

Modified files:
usr.bin/tmux   : window-copy.c 

Log message:
Skip wrapped lines in top level search loop because they will be
combined in the inner loop (in window_copy_search_rl_regex and the
others), avoids searching the same text multiple times. Also add a line
length limit for regex searches. GitHub issue 3675.



CVS: cvs.openbsd.org: src

2023-09-03 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/09/03 04:22:03

Modified files:
usr.sbin/relayd: relay.c 

Log message:
Use EVBUFFER_DATA instead of reaching into struct evbuffer. ok tb



CVS: cvs.openbsd.org: src

2023-09-03 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/09/03 04:18:18

Modified files:
usr.sbin/httpd : server.c 

Log message:
Use EVBUFFER_DATA instead of reaching into struct evbuffer. ok tb



CVS: cvs.openbsd.org: src

2023-09-02 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/09/02 14:03:10

Modified files:
usr.bin/tmux   : server-client.c tmux.h tty-keys.c tty.c 

Log message:
Request terminal colours again on SIGWINCH but at most once every 30
seconds, GitHub issue 3582.



CVS: cvs.openbsd.org: src

2023-09-02 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/09/02 03:17:23

Modified files:
usr.bin/tmux   : tmux.1 tmux.h tty-features.c tty-term.c tty.c 

Log message:
Setulc only does RGB colour so add Setulc1 to do non-RGB colours, GitHub
issue 3627.



CVS: cvs.openbsd.org: src

2023-09-02 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/09/02 02:38:38

Modified files:
usr.bin/tmux   : session.c 

Log message:
Set visited flag on last windows when linking session.



CVS: cvs.openbsd.org: src

2023-09-01 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/09/01 12:43:54

Modified files:
usr.bin/tmux   : utf8-combined.c 

Log message:
Only compare the actual size of the UTF-8 character, not all of it.



CVS: cvs.openbsd.org: src

2023-09-01 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/09/01 10:40:38

Modified files:
usr.bin/tmux   : cmd-capture-pane.c 

Log message:
Add missing -T to getopt string.



CVS: cvs.openbsd.org: src

2023-09-01 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/09/01 10:01:55

Modified files:
usr.bin/tmux   : screen-write.c 

Log message:
Clear combine flag when a non-UTF-8 set of characters is encountered.



CVS: cvs.openbsd.org: src

2023-09-01 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/09/01 08:29:11

Modified files:
usr.bin/tmux   : Makefile screen-write.c server.c tmux.h utf8.c 
 window-copy.c 
Added files:
usr.bin/tmux   : utf8-combined.c 

Log message:
Rewrite combined character handling to be more consistent and to support
newer Unicode combined characters (which we have to "know" are combined
since they are not width zero). GitHub issue 3600.



CVS: cvs.openbsd.org: src

2023-09-01 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/09/01 08:24:46

Modified files:
usr.bin/tmux   : cmd-new-window.c 

Log message:
Expand name before looking for window with -S, GitHub issue 3670.



CVS: cvs.openbsd.org: src

2023-09-01 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/09/01 07:48:54

Modified files:
usr.bin/tmux   : options-table.c server-fn.c session.c tmux.1 

Log message:
Add detach-on-destroy previous and next, mostly from Alexis Hildebrandt.



CVS: cvs.openbsd.org: src

2023-08-23 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/08/23 02:40:25

Modified files:
usr.bin/tmux   : cmd-run-shell.c tmux.1 

Log message:
Add -c to run-shell to set working directory, from someone in GitHub
issue 3661.



CVS: cvs.openbsd.org: src

2023-08-23 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/08/23 02:30:07

Modified files:
usr.bin/tmux   : input.c 

Log message:
Log what input_dcs_dispatch does with the input data.



CVS: cvs.openbsd.org: src

2023-08-17 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/08/17 08:10:28

Modified files:
usr.bin/tmux   : cmd.c format-draw.c format.c server-client.c 
 style.c tmux.1 tmux.h 

Log message:
Add a session, pane and user mouse range types for the status line and
add format variables for mouse_status_line and mouse_status_range so
they can be associated with different commands in the key bindings.
GitHub issue 3652.



CVS: cvs.openbsd.org: src

2023-08-15 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/08/15 03:51:48

Modified files:
usr.bin/tmux   : key-bindings.c 

Log message:
Add meta bindings for status line menus as well as the existing pane one
for terminals which steal the mouse menu button.



CVS: cvs.openbsd.org: src

2023-08-15 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/08/15 01:01:48

Modified files:
usr.bin/tmux   : cmd-display-menu.c menu.c mode-tree.c 
 options-table.c popup.c screen-write.c status.c 
 tmux.1 tmux.h 

Log message:
Add an option menu-selected-style to configure the currently selected
menu item, from Alexis Hildebrandt.



CVS: cvs.openbsd.org: src

2023-08-11 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/08/11 11:09:00

Modified files:
usr.bin/tmux   : mode-tree.c 

Log message:
Do not crash if in buffer mode and the last buffer is deleted using the
command.



CVS: cvs.openbsd.org: src

2023-08-08 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/08/08 02:21:30

Modified files:
usr.bin/tmux   : input.c tmux.1 tmux.h window-copy.c 

Log message:
Add flag to next-prompt/previous-prompt to go to command output instead,
from Magnus Gross.



CVS: cvs.openbsd.org: src

2023-08-08 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/08/08 01:41:04

Modified files:
usr.bin/tmux   : menu.c screen-write.c tmux.h window-client.c 

Log message:
Extend the menu drawing function to support custom characters and
styles, from Alexis Hildebrandt.



CVS: cvs.openbsd.org: src

2023-08-08 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/08/08 01:19:48

Modified files:
usr.bin/tmux   : tty-acs.c 

Log message:
Fix a couple of rounded border characters, from Alexis Hildebrandt.



CVS: cvs.openbsd.org: src

2023-08-07 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/08/07 04:52:00

Modified files:
usr.bin/tmux   : cmd-display-menu.c 

Log message:
Free title earlier, from Alexis Hildebrandt.



CVS: cvs.openbsd.org: src

2023-08-07 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/08/07 04:04:29

Modified files:
usr.bin/tmux   : format-draw.c 

Log message:
Trim can generate strings longer than the original if there are many #s,
so create a bigger buffer. Reported by Robert Morris.



CVS: cvs.openbsd.org: src

2023-07-19 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/07/19 07:03:36

Modified files:
usr.bin/tmux   : session.c 

Log message:
Correct visited flag when the last window list is rebuilt by renumbering
windows, appears to fix hang reported by Mark Kelly.



CVS: cvs.openbsd.org: src

2023-07-14 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/07/14 13:32:59

Modified files:
usr.bin/tmux   : screen-write.c 

Log message:
Set extended keys flag again after reset, from Eric T Johnson.



CVS: cvs.openbsd.org: src

2023-07-13 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/07/13 00:03:49

Modified files:
usr.bin/tmux   : grid.c input.c tty.c 

Log message:
Use 8 for underscore colour defaults instead of 0 which is less
confusing, and fix writing tge default colour. GitHub issue 3627.



CVS: cvs.openbsd.org: src

2023-07-11 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/07/11 10:09:09

Modified files:
usr.bin/tmux   : tmux.1 

Log message:
Remove Ns and Li and change Nm to Ic, suggested by jmc.



CVS: cvs.openbsd.org: src

2023-07-11 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/07/11 01:34:23

Modified files:
usr.bin/tmux   : tmux.1 

Log message:
Add descriptions of copy mode commands, from Michael Bianco.



CVS: cvs.openbsd.org: src

2023-07-10 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/07/10 06:00:08

Modified files:
usr.bin/tmux   : client.c 

Log message:
It should no longer be necessary to ignore SIGCHLD because it is now
blocked around daemon(), and doing so causes trouble with newer libevent
(it cannot restore the original handler). Reported by Azat Khuzhin in
GitHub issue 3626.



CVS: cvs.openbsd.org: src

2023-07-10 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/07/10 03:35:46

Modified files:
usr.bin/tmux   : client.c 

Log message:
Loop around waitpid in client, from Azat Khuzhin.



CVS: cvs.openbsd.org: src

2023-07-10 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/07/10 03:24:53

Modified files:
usr.bin/tmux   : cmd-find.c cmd-select-pane.c cmd-swap-pane.c 
 format.c spawn.c tmux.h window.c 

Log message:
Use a stack for last panes line windows, from Thomas Bertschinger in
GitHub issue 3588.



CVS: cvs.openbsd.org: src

2023-07-09 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/07/09 16:54:52

Modified files:
usr.bin/tmux   : spawn.c 

Log message:
Call closefrom after removing signals because newer libevent doesn't
like its signal fd being closed Azat Khuzhin.



CVS: cvs.openbsd.org: src

2023-07-03 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/07/03 10:47:44

Modified files:
usr.bin/tmux   : input.c tmux.1 tmux.h window-copy.c 

Log message:
Add support for marking lines with a shell prompt based on the OSC 133
extension, from Munif Tanjim in GitHub issue 3596.



CVS: cvs.openbsd.org: src

2023-07-03 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/07/03 04:48:26

Modified files:
usr.bin/tmux   : format.c 

Log message:
Do not risk writing over the end of the buffer when it ends in #
(because strchr \0 will be non-NULL), reported by Robert Morris in
GitHub issue 3610.



CVS: cvs.openbsd.org: src

2023-07-03 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/07/03 02:37:14

Modified files:
usr.bin/tmux   : utf8.c 

Log message:
Another warning fix for GCC from Thomas Klausner.



CVS: cvs.openbsd.org: src

2023-06-30 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/06/30 15:55:09

Modified files:
usr.bin/tmux   : arguments.c grid.c regsub.c utf8.c 
 window-tree.c 

Log message:
Change a few types to fix warnings, from Thomas Klausner.



CVS: cvs.openbsd.org: src

2023-06-30 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/06/30 07:19:33

Modified files:
usr.bin/tmux   : cmd-resize-window.c format.c hyperlinks.c 
 input.c notify.c tty-keys.c tty-term.c 

Log message:
Get rid of some warnings with GCC 10, from Thomas Klausner.



CVS: cvs.openbsd.org: src

2023-06-26 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/06/26 02:14:19

Modified files:
usr.bin/tmux   : screen.c 

Log message:
When exiting alternate screen, there is no need to reflow when going
back to old size since the contents will be overwritten. GitHub issue
3510.



CVS: cvs.openbsd.org: src

2023-06-26 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/06/26 01:17:40

Modified files:
usr.bin/tmux   : style.c tmux.1 tty.c 

Log message:
Add "us" to styles for underscore colour, GitHub issue 3589.



CVS: cvs.openbsd.org: src

2023-06-25 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/06/25 09:53:07

Modified files:
usr.bin/tmux   : input.c 

Log message:
SGR 0 should not end hyperlink, reported by Lucas Trzesniewski.



CVS: cvs.openbsd.org: src

2023-06-21 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/06/21 00:28:18

Modified files:
usr.bin/tmux   : popup.c 

Log message:
Check fdopen return value, from Christian Menges.



CVS: cvs.openbsd.org: src

2023-06-08 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/06/08 05:17:29

Modified files:
usr.bin/tmux   : popup.c tmux.h 

Log message:
Fix mismatch between function prototype and definition, from Anindya
Mukherjee.



CVS: cvs.openbsd.org: src

2023-05-19 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/05/19 01:46:34

Modified files:
usr.bin/tmux   : format.c tmux.1 

Log message:
Add format for server_sessions, from Magnus Gross.



CVS: cvs.openbsd.org: src

2023-04-28 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/04/28 00:12:27

Modified files:
usr.bin/tmux   : cmd-confirm-before.c tmux.1 

Log message:
Add options to change the confirm key and default behaviour of
confirm-before. From Elias Assaf in GitHub issue 3548; prompted by an
earlier change from Yutaro Yoshii in GitHub issue 3496.



CVS: cvs.openbsd.org: src

2023-04-27 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/04/27 23:59:36

Modified files:
usr.bin/tmux   : tty-term.c 

Log message:
Do not fatal if tparm fails, instead just log it (not working sequences
are better than exiting).



CVS: cvs.openbsd.org: src

2023-04-25 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2023/04/25 03:31:50

Modified files:
usr.bin/tmux   : tmux.h tty-term.c tty.c 

Log message:
Tidy tparm wrapper functions to have more obvious names and check tparm
return value.



  1   2   3   4   5   6   7   8   9   10   >