lib/less/command.rb
def watch &block
      begin
        block.call
      rescue Interrupt
        puts
        exit 0
      end
    end
# little function which allows us to 
# Ctrl-C exit inside the passed block
little function which allows us to
Ctrl-C exit inside the passed block
little function which allows us to Ctrl - C exit inside the passed block
def watch &block
      begin
        block.call
      rescue Interrupt
        puts
        exit 0
      end
    end
def watch & block begin block . call rescue Interrupt puts exit 0 end end
little function which allows us to
Ctrl-C exit inside the passed block
little function which allows us to Ctrl - C exit inside the passed block
block