summaryrefslogtreecommitdiff
path: root/src/panes.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/panes.zig')
-rw-r--r--src/panes.zig9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/panes.zig b/src/panes.zig
index 95917b42..73a0fc9e 100644
--- a/src/panes.zig
+++ b/src/panes.zig
@@ -309,15 +309,12 @@ pub const Pane = struct {
/// that view's focus leaving the pane drops it.
prompt_view: u8 = 0,
- pub const MessagePhase = enum { entering, shown, lingering, leaving };
- /// One message line's animation: falling in, shown, lingering after the
- /// key or click that dismissed it, dissolving. `frame` counts animation
- /// frames within the phase.
+ pub const MessagePhase = enum { shown, lingering };
+ /// One message line's life: shown, or lingering after the key or click
+ /// that dismissed it, `frame` frames of its linger gone.
pub const MessageLife = struct {
phase: MessagePhase = .shown,
frame: u16 = 0,
- /// Dismissed while still falling: it lingers once it has landed.
- dismissed: bool = false,
};
/// Older message lines kept on screen under a new one.
pub const message_stack = 3;