Ctrl-PageDown is filtered?

2012-01-15 Thread 郭晓峰
Hi there, I tried to catch scan code by some small code, and below is behavior with click "Ctrl-PageDown" === In Xterm === $./a.out Press a Key 27 Press a Key 91 Press a Key 54 Press a Key 59 Press a Key 53 Press a Key 126   // 6 bytes returned Press a Key === In tmux

Ctrl-PageDown is filtered?

2012-01-15 Thread 郭晓峰
Hi there, I tried to catch scan code by some small code, and below is behavior with click "Ctrl-PageDown" === In Xterm === $./a.out Press a Key 27 Press a Key 91 Press a Key 54 Press a Key 59 Press a Key 53 Press a Key 126 // 6 bytes returned Press a Key === In tmux

show flags on active window when detached

2012-01-15 Thread Roland Walker
Alert flags are not displayed for the active window. This makes sense when the session is attached: the user can see all relevant activity directly. However, using -F we can peek at window_flags on a detached session. Say the user executes tmux lsw -F '#{window_name}|#{window_flags}' Here

Re: Ctrl-PageDown is filtered?

2012-01-15 Thread Nicholas Marriott
You need to set xterm-keys option for tmux to pass through C-PgUp etc. On Sun, Jan 15, 2012 at 12:00:34AM -0800, ? wrote: > Hi there, > > I tried to catch scan code by some small code, and below is behavior > with click "Ctrl-PageDown" > > === In Xterm === > $./a.ou

Re: BUG: double width characters cause previous character to be lost

2012-01-15 Thread Nicholas Marriott
Applied, thanks. On Thu, Jan 12, 2012 at 09:03:03PM +0100, Matthias Lederhofer wrote: > Nicholas Marriott wrote: > > Try this please, see if it fixes your problem and if you see any ill > > effects: > > This fixes the problem for my test case. ---