swerc

anselm's simpler werc fork
git clone git://git.suckless.org/swerc
Log | Files | Refs | README

commit e32ef943b2f3e682b41ddf64734845e0b0bfbcef
parent 5c39801466fb1bb6a0e94913465801f08a213072
Author: uriel@engel.se.cat-v.org <unknown>
Date:   Sun, 25 Jan 2009 15:42:56 +0100

Add -s, print status when a command sets it.
Diffstat:
Mlib/_debug.tpl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/_debug.tpl b/lib/_debug.tpl @@ -11,7 +11,7 @@ document.prompt.command.focus() fn evl { # Buffering is probably messing this up: #rc -c 'flag x +;{'^$post_arg_command'} |[2] awk ''{print ">> "$0}''' - rc -c 'flag x +;'^$post_arg_command + rc -c 'flag s +; flag x +;'^$post_arg_command } if(! ~ $#post_arg_command 0 && ! ~ $#post_arg_command '') { echo '<hr /><pre>'