… | |
… | |
361 | make_current (); |
361 | make_current (); |
362 | |
362 | |
363 | delete this; |
363 | delete this; |
364 | } |
364 | } |
365 | |
365 | |
|
|
366 | void |
|
|
367 | rxvt_term::set_option (uint8_t opt, bool set) |
|
|
368 | { |
|
|
369 | if (!opt) |
|
|
370 | return; |
|
|
371 | |
|
|
372 | uint8_t mask = 1 << (opt & 7); |
|
|
373 | uint8_t &val = options [opt >> 3]; |
|
|
374 | |
|
|
375 | val = val & ~mask | (set ? 0 : mask); |
|
|
376 | } |
|
|
377 | |
366 | /*----------------------------------------------------------------------*/ |
378 | /*----------------------------------------------------------------------*/ |
367 | /* |
379 | /* |
368 | * Exit gracefully, clearing the utmp entry and restoring tty attributes |
380 | * Exit gracefully, clearing the utmp entry and restoring tty attributes |
369 | * TODO: if debugging, this should free up any known resources if we can |
381 | * TODO: if debugging, this should free up any known resources if we can |
370 | */ |
382 | */ |