URL: <http://savannah.gnu.org/bugs/?32339>
Summary: Coloring problems when using caption padding Project: GNU Screen Submitted by: None Submitted on: Thu 03 Feb 2011 02:18:07 PM UTC Category: User Interface Severity: 3 - Normal Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Release: <= 3.6.x Fixed Release: None Planned Release: None Work Required: None _______________________________________________________ Details: I'm currently using the following caption line: caption string '%{= kG}[ %{G}%H%{g} ][ %= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%= %{g}][ %{Y}%l%{g} ][ %{B}%m/%d %{W}%C%a%{g} ]' caption always On 066b098a312e5c from git, on Snow Leopard in Terminal.app this produces some odd results as shown here. When I select one of the middle windows, everything is fine (see screenshot middleselected.png), but when I select the last window the highlighting is incorrect (lastselected.png). Note now the "h" is red and the parens around the highlighted window are not. The built in version of screen (Screen version 4.01.00devel (GNU) 2-May-06) does not exhibit this behavior. If I remove the first '%= ' to left justify the window list, the coloring works as expected. My screen was compiled using: ./autogen.sh ./configure --enable-locale --enable-telnet --enable-colors256 --enable-rxvt_osc --prefix=/usr/local make install gcc version reports as i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664) Let me know if you need any more information. Thanks! _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Thu 03 Feb 2011 02:18:07 PM UTC Name: middleselected.png Size: 60kB By: None <http://savannah.gnu.org/bugs/download.php?file_id=22590> ------------------------------------------------------- Date: Thu 03 Feb 2011 02:18:07 PM UTC Name: lastselected.png Size: 60kB By: None <http://savannah.gnu.org/bugs/download.php?file_id=22591> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?32339> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/