summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/alerts.c
AgeCommit message (Collapse)Author
2021-04-12Add a flag to disable keys to close a message, GitHub issue 2625.Nicholas Marriott
2020-08-19Set alert flag for the current window if the session is unattached.Nicholas Marriott
GitHub issues 1182 and 2299. From Eric Garver.
2020-07-27Add a -d option to display-message to set delay, from theonekeyg atNicholas Marriott
gmail dot com in GitHub issue 2322.
2020-05-16Support embedded styles in the display-message message, GitHub issueNicholas Marriott
2206.
2017-12-28Redrawing status is needed after changing window flags or title does notNicholas Marriott
update if status line is off, GitHub issue 1191.
2017-09-22Initialize alerts timer event where it is used, avoids crash with new windows.Nicholas Marriott
2017-09-11Check event is initialized before delete; fixes crash reported byNicholas Marriott
Michael Nickerson in GitHub issue 1068.
2017-08-23Allow multiple bells even if there is an existing bell (but not activityNicholas Marriott
or silence), from Brad Town.
2017-08-23Run alert hooks based on the options rather than unconditionally, fromNicholas Marriott
Brad Town.
2017-08-17Add monitor-bell window option to match the activity and silenceNicholas Marriott
options, from Brad Town.
2017-08-16Rename BELL_* values to ALERT_* now they are used by more than bells,Nicholas Marriott
based on a diff from Brad Town.
2017-07-26Always reset the alerts timer so it works even if activity and silenceNicholas Marriott
are enabled on the same window.
2017-07-26Make bell, activity and silence alerting more consistent:Nicholas Marriott
- remove the bell-on-alert option; - add activity-action and silence-action options with the same possible values as the existing bell-action; - add "both" value for the visual-bell, visual-activity and visual-silence options to trigger both a bell and a message. This means all three work the same way. Based on changes from Yvain Thonnart.
2017-06-28Fix visual-silence (check accidentally the wrong way round), from BradNicholas Marriott
Town. Plus some tmux.1 fixes from jmc@.
2017-04-28Log what is happening with window and session reference counts much moreNicholas Marriott
obviously.
2017-04-28Do not put the window on the alerts queue and add a reference unless theNicholas Marriott
alert is enabled and we are actually going to add the alerts event.
2017-04-21More unnecessary arguments now winlink points back to session.Nicholas Marriott
2016-11-01Clear window alert flags after setting winlink alert flags, fixes problemNicholas Marriott
reported by Tommy Allen.
2016-10-25Do not handle activity or silence alerts in the current window, reportedNicholas Marriott
by jasper@.
2016-10-19Alerts are too slow, so rather than walking all sessions and windows,Nicholas Marriott
add a link of winlinks to each window and a pointer to the session to each winlink. Also rewrite the alerts processing to return to the old behaviour (alert in any window sets the flag on any winlink).
2016-10-16Use notifys for alerts too.Nicholas Marriott
2016-10-03Remove some dead code in cmd-move-window.c and make a load of localNicholas Marriott
functions static.
2016-05-11Add on alerts rather than ignoring them if the event has already beenNicholas Marriott
queued, for example bell and activity together. From Marcel Lippmann via Romain Francoise.
2016-01-19I no longer use my SourceForge address so replace it.Nicholas Marriott
2016-01-16Add hooks for alerts (bell, silence, activity), from Thomas Adam.Nicholas Marriott
2015-12-07Fix bell indicators across detach, reported by Torbjorn Lonnemark, diffNicholas Marriott
from Thomas Adam.
2015-11-20The alerts callback should be fired for bells even if bell-action isNicholas Marriott
none because it also affects the status line bell indicator (and bell-action does not). Fixes a problem reported by tim@.
2015-11-19The activity flag could already be set, so queue the callback always (ifNicholas Marriott
not already queued) rather than only if the flag is being added. Fixes a problem reported by tim@
2015-11-18Use __unused rather than rolling our own.Nicholas Marriott
2015-10-27Move struct options into options.c.Nicholas Marriott
2015-09-21Reset the alerts timer always on activity, from Thomas Adam.Nicholas Marriott
2015-09-02A one line helper function is a little silly.Nicholas Marriott
2015-08-29Move alerts onto events rather than checking every loop.Nicholas Marriott