'uname -rims' -> Linux 2.6.33.4-spott i686 AuthenticAMD
tmux-CVS from today

Hi,

I have these settings in ".tmux.conf":

    set-window-option -g monitor-content '[0-9]* [0-9]* [#$] ?'
    set-option -g visual-content on

designed to match my shells prompt[1] looking like this:  "0 4 # ".  The
first number is the exit status of the last command, then comes the PTY
number and then "#" for root and "$" for a regular user, a space and
there's the bash waiting for input.

Tmux flags content as soon as anything is printed to screen, not only
this prompt.  Linux has fnmatch(3), I see it is used without any flags
every place, shouldn't it match _new_ content only?  In
"window.c::window_pane_search()" it is used on every line on the screen
(without history, it seems).  But why doesn't it trigger as soon as any
prompt is seen, ie.  immediately?

[1]
1 4 # echo "${PS1}"
\w\n${_last_status} ${_this_pty} \$


clemens


------------------------------------------------------------------------------

_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to