diff options
| author | 2013-08-12 01:28:02 +0200 | |
|---|---|---|
| committer | 2013-08-12 01:28:02 +0200 | |
| commit | 159f9d2187215e3f4c1b6ce82b9388686ce3574a (patch) | |
| tree | 5e1b1cc5deab5c8d9c29f3426eda35f7fadc96fc /modeline | |
| parent | 5c6d14bca8de104b0495c0c15d12f37fac6c933d (diff) | |
| download | urxvt-modeline-159f9d2187215e3f4c1b6ce82b9388686ce3574a.tar.gz urxvt-modeline-159f9d2187215e3f4c1b6ce82b9388686ce3574a.zip | |
Pass the number of columns to the command
Users can use this to align their text.
Diffstat (limited to 'modeline')
| -rwxr-xr-x | modeline | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -45,7 +45,7 @@ sub refresh { my $text = " " x $ncol; my $rend = [($self->{rs_tabbar}) x $ncol]; - my $output = `$self->{command}`; + my $output = `$self->{command} $ncol`; substr $text, 0, length $output, $output; my $idx = 0; |
