ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/perl/tabbed
(Generate patch)

Comparing rxvt-unicode/src/perl/tabbed (file contents):
Revision 1.34 by sf-exg, Wed Aug 15 19:41:37 2012 UTC vs.
Revision 1.36 by root, Sat May 25 23:14:08 2013 UTC

5#:META:X_RESOURCE:tab-fg:colour:tab foreground colour 5#:META:X_RESOURCE:tab-fg:colour:tab foreground colour
6#:META:X_RESOURCE:tab-bg:colour:tab background colour 6#:META:X_RESOURCE:tab-bg:colour:tab background colour
7 7
8=head1 NAME 8=head1 NAME
9 9
10 tabbed - tabbed interface to urxvt 10tabbed - tabbed interface to urxvt
11 11
12=head1 DESCRIPTION 12=head1 DESCRIPTION
13 13
14This transforms the terminal into a tabbar with additional terminals, that 14This transforms the terminal into a tabbar with additional terminals, that
15is, it implements what is commonly referred to as "tabbed terminal". The topmost line 15is, it implements what is commonly referred to as "tabbed terminal". The topmost line
400 400
401# helper extension implementing the subwindows of a tabbed terminal. 401# helper extension implementing the subwindows of a tabbed terminal.
402# simply proxies all interesting calls back to the tabbed class. 402# simply proxies all interesting calls back to the tabbed class.
403 403
404{ 404{
405 for my $hook qw(start destroy key_press property_notify) { 405 for my $hook (qw(start destroy key_press property_notify)) {
406 eval qq{ 406 eval qq{
407 sub on_$hook { 407 sub on_$hook {
408 my \$parent = \$_[0]{term}{parent} 408 my \$parent = \$_[0]{term}{parent}
409 or return; 409 or return;
410 \$parent->tab_$hook (\@_) 410 \$parent->tab_$hook (\@_)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines