… | |
… | |
399 | |
399 | |
400 | =item confirm-paste |
400 | =item confirm-paste |
401 | |
401 | |
402 | Displays a confirmation dialog when a paste containing at least a full |
402 | Displays a confirmation dialog when a paste containing at least a full |
403 | line is detected. |
403 | line is detected. |
|
|
404 | |
|
|
405 | =item bell-command |
|
|
406 | |
|
|
407 | Runs the command specified by the C<URxvt.bell-command> resource when |
|
|
408 | a bell event occurs. For example, the following pops up a notification |
|
|
409 | bubble with the text "Beep, Beep" using notify-send: |
|
|
410 | |
|
|
411 | URxvt.bell-command: notify-send "Beep, Beep" |
404 | |
412 | |
405 | =back |
413 | =back |
406 | |
414 | |
407 | =head1 API DOCUMENTATION |
415 | =head1 API DOCUMENTATION |
408 | |
416 | |
… | |
… | |
1209 | |
1217 | |
1210 | sub DESTROY { |
1218 | sub DESTROY { |
1211 | $_[0][1]->stop; |
1219 | $_[0][1]->stop; |
1212 | } |
1220 | } |
1213 | |
1221 | |
|
|
1222 | # only needed for AnyEvent < 6 compatibility |
1214 | sub one_event { |
1223 | sub one_event { |
1215 | Carp::croak "AnyEvent->one_event blocking wait unsupported in urxvt, use a non-blocking API"; |
1224 | Carp::croak "AnyEvent->one_event blocking wait unsupported in urxvt, use a non-blocking API"; |
1216 | } |
1225 | } |
1217 | |
1226 | |
1218 | package urxvt::term; |
1227 | package urxvt::term; |