Hi. It isn't supported at the moment, needs to be added in input.c
-------- Original message --------
From: yohann dupont <yohann.dup...@live.fr>
Date: 22/01/2014 13:39 (GMT+00:00)
To: tmux-users@lists.sourceforge.net
Subject: Window size
Hi,
The \033[18t control sequence did'nt return any result. Here a PHP script who
works outside tmux sessions:
echo "\033[18t";
// Read \033[8;y;xt.
fread(STDIN, 4); // skip \033, [, 8 and ;.
$x = null;
$y = null;
$handle = &$y;
do {
$char = fread(STDIN, 1);
switch($char) {
case ';':
$handle = &$x;
break;
case 't':
break 2;
default:
$handle .= $char;
}
} while(true);
return array(
'x' => (int) $x,
'y' => (int) $y
);
The first fread always timeout. Is there somethin to do to get the \033[8;h;wt
answer ?
Thanks
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable
security intelligence. It gives you real-time visual feedback on key
security issues and trends. Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users