… | |
… | |
1346 | my $res = &x_resource; |
1346 | my $res = &x_resource; |
1347 | |
1347 | |
1348 | $res =~ /^\s*(?:true|yes|on|1)\s*$/i ? 1 : defined $res && 0 |
1348 | $res =~ /^\s*(?:true|yes|on|1)\s*$/i ? 1 : defined $res && 0 |
1349 | } |
1349 | } |
1350 | |
1350 | |
|
|
1351 | =item $action = $term->lookup_keysym ($keysym, $state) |
|
|
1352 | |
|
|
1353 | Returns the action bound to key combination C<($keysym, $state)>, |
|
|
1354 | if a binding for it exists, and C<undef> otherwise. |
|
|
1355 | |
1351 | =item $success = $term->bind_action ($key, $action) |
1356 | =item $success = $term->bind_action ($key, $action) |
1352 | |
1357 | |
1353 | Adds a key binding exactly as specified via a C<keysym> resource. See the |
1358 | Adds a key binding exactly as specified via a C<keysym> resource. See the |
1354 | C<keysym> resource in the urxvt(1) manpage. |
1359 | C<keysym> resource in the urxvt(1) manpage. |
1355 | |
1360 | |