mirror of
https://github.com/tmux/tmux.git
synced 2024-12-13 18:38:48 +00:00
Inc region in debug msg.
This commit is contained in:
parent
8da0b1fb99
commit
a01093603b
6
CHANGES
6
CHANGES
@ -1,9 +1,9 @@
|
||||
23 November 2007
|
||||
3 November 2007
|
||||
|
||||
* Mostly complete copy & paste. Copy mode entered with C-b [ (copy-mode
|
||||
command). In copy mode, arrow keys/page up/page down/hjkl/C-u/C-f navigate,
|
||||
space or C-space starts selection, and enter or C-w copies and (important!)
|
||||
exits copy mode. C-b ] (paste-buffer) pastes into current terminal. No
|
||||
exits copy mode. C-b ] (paste-buffer) pastes into current window. No
|
||||
extra utility keys (bol/eol/clear selection/etc), only one single buffer,
|
||||
and no buffer manipulation commands (clear/view/etc) yet. The code is also
|
||||
fugly :-(.
|
||||
@ -263,4 +263,4 @@
|
||||
(including mutt, emacs). No status bar yet and no key remapping or other
|
||||
customisation.
|
||||
|
||||
$Id: CHANGES,v 1.82 2007-11-23 17:52:54 nicm Exp $
|
||||
$Id: CHANGES,v 1.83 2007-11-23 22:51:13 nicm Exp $
|
||||
|
1
TODO
1
TODO
@ -77,6 +77,7 @@
|
||||
- garbage collect window history (100 lines at a time?) if it hasn't been used
|
||||
in $x time (need window creation/use times)
|
||||
- lift SHRT_MAX limits for history
|
||||
- audit copy/scroll and other modes for problems with very small windows
|
||||
|
||||
-- For 0.2 --------------------------------------------------------------------
|
||||
- copy and paste
|
||||
|
9
input.c
9
input.c
@ -1,4 +1,4 @@
|
||||
/* $Id: input.c,v 1.35 2007-11-21 14:50:41 nicm Exp $ */
|
||||
/* $Id: input.c,v 1.36 2007-11-23 22:51:13 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -535,9 +535,10 @@ input_handle_sequence(u_char ch, struct input_ctx *ictx)
|
||||
u_int i;
|
||||
struct input_arg *iarg;
|
||||
|
||||
log_debug2("-- sq %zu: %hhu (%c): %u [sx=%u, sy=%u, cx=%u, cy=%u]",
|
||||
ictx->off, ch, ch, ARRAY_LENGTH(&ictx->args),
|
||||
screen_size_x(s), screen_size_y(s), s->cx, s->cy);
|
||||
log_debug2("-- sq %zu: %hhu (%c): %u [sx=%u, sy=%u, cx=%u, cy=%u, "
|
||||
"ru=%u, rl=%u]", ictx->off, ch, ch, ARRAY_LENGTH(&ictx->args),
|
||||
screen_size_x(s), screen_size_y(s), s->cx, s->cy, s->rupper,
|
||||
s->rlower);
|
||||
for (i = 0; i < ARRAY_LENGTH(&ictx->args); i++) {
|
||||
iarg = &ARRAY_ITEM(&ictx->args, i);
|
||||
if (*iarg->data != '\0')
|
||||
|
Loading…
Reference in New Issue
Block a user