=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/window-copy.c,v retrieving revision 1.248 retrieving revision 1.249 diff -c -r1.248 -r1.249 *** src/usr.bin/tmux/window-copy.c 2020/03/11 18:46:42 1.248 --- src/usr.bin/tmux/window-copy.c 2020/03/12 13:19:20 1.249 *************** *** 1,4 **** ! /* $OpenBSD: window-copy.c,v 1.248 2020/03/11 18:46:42 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: window-copy.c,v 1.249 2020/03/12 13:19:20 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 230,235 **** --- 230,236 ---- } lineflag; /* line selection mode */ int rectflag; /* in rectangle copy mode? */ int scroll_exit; /* exit on scroll to end? */ + int hide_position; /* hide position marker */ enum { SEL_CHAR, /* select one char at a time */ *************** *** 345,350 **** --- 346,352 ---- data->cy = data->backing->cy; data->scroll_exit = args_has(args, 'e'); + data->hide_position = args_has(args, 'H'); data->screen.cx = data->cx; data->screen.cy = data->cy; *************** *** 2774,2780 **** style_apply(&gc, oo, "mode-style"); gc.flags |= GRID_FLAG_NOPALETTE; ! if (py == 0 && s->rupper < s->rlower) { if (data->searchmark == NULL) { size = xsnprintf(hdr, sizeof hdr, "[%u/%u]", data->oy, screen_hsize(data->backing)); --- 2776,2782 ---- style_apply(&gc, oo, "mode-style"); gc.flags |= GRID_FLAG_NOPALETTE; ! if (py == 0 && s->rupper < s->rlower && !data->hide_position) { if (data->searchmark == NULL) { size = xsnprintf(hdr, sizeof hdr, "[%u/%u]", data->oy, screen_hsize(data->backing));