~ubuntu-branches/ubuntu/utopic/rxvt-unicode/utopic-proposed

« back to all changes in this revision

Viewing changes to src/perl/tabbed

  • Committer: Package Import Robot
  • Author(s): Ryan Kavanagh
  • Date: 2013-05-26 18:12:22 UTC
  • mfrom: (33.1.2 experimental)
  • Revision ID: package-import@ubuntu.com-20130526181222-67glcv7nppi4ih7r
Tags: 9.18-2
* Upload to unstable now that wheezy has been released
* Merge in patch from gregor herrman fixing a FTBFS due to POD errors
  (Closes: #708026)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! perl
2
2
 
 
3
#:META:X_RESOURCE:tabbar-fg:colour:tab bar foreground colour
 
4
#:META:X_RESOURCE:tabbar-bg:colour:tab bar background colour
 
5
#:META:X_RESOURCE:tab-fg:colour:tab foreground colour
 
6
#:META:X_RESOURCE:tab-bg:colour:tab background colour
 
7
 
 
8
=head1 NAME
 
9
 
 
10
tabbed - tabbed interface to urxvt
 
11
 
 
12
=head1 DESCRIPTION
 
13
 
 
14
This transforms the terminal into a tabbar with additional terminals, that
 
15
is, it implements what is commonly referred to as "tabbed terminal". The topmost line
 
16
displays a "[NEW]" button, which, when clicked, will add a new tab, followed by one
 
17
button per tab.
 
18
 
 
19
Clicking a button will activate that tab. Pressing B<Shift-Left> and
 
20
B<Shift-Right> will switch to the tab left or right of the current one,
 
21
while B<Shift-Down> creates a new tab. Pressing B<Ctrl-Left> and
 
22
B<Ctrl-Right> will renumber the current tab by moving it to the left or
 
23
to the right.
 
24
 
 
25
The tabbar itself can be configured similarly to a normal terminal, but
 
26
with a resource class of C<URxvt.tabbed>. In addition, it supports the
 
27
following four resources (shown with defaults):
 
28
 
 
29
   URxvt.tabbed.tabbar-fg: <colour-index, default 3>
 
30
   URxvt.tabbed.tabbar-bg: <colour-index, default 0>
 
31
   URxvt.tabbed.tab-fg:    <colour-index, default 0>
 
32
   URxvt.tabbed.tab-bg:    <colour-index, default 1>
 
33
 
 
34
See I<COLOR AND GRAPHICS> in the @@RXVT_NAME@@(1) manpage for valid
 
35
indices.
 
36
 
 
37
=cut
 
38
 
3
39
sub refresh {
4
40
   my ($self) = @_;
5
41