aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/block.txt
blob: 670a39b28b791a68b18a6cdcadbc5c65b41daa1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
\section block block - temporarily block delivery of events

\subsection block-synopsis Synopsis
 <tt>block [OPTIONS...]</tt>

\subsection block-description Description

- <tt>-l</tt> or <tt>--local</tt> Release the block at the end of the currently innermost block scope
- <tt>-g</tt> or <tt>--global</tt> Never automatically release the lock
- <tt>-e</tt> or <tt>--erase</tt> Release global block

\subsection block-example Example

<pre>
block -g
\#Do something that should not be interrupted
block -e
</pre>