hjkl 0.18.2

Vim-modal terminal editor: standalone TUI built on the hjkl engine.
//! App-specific picker actions. Boxed into `PickerAction::Custom` and
//! downcast in the dispatcher.

use std::path::PathBuf;

pub enum AppAction {
    OpenPath(PathBuf),
    OpenPathAtLine(PathBuf, u32),
    ShowCommit(String),
    CheckoutBranch(String),
    CheckoutTag(String),
    FetchRemote(String),
    SwitchSlot(usize),
    StashApply(usize),
    StashPop(usize),
    StashDrop(usize),
    /// Jump the active buffer's cursor to a specific (0-based) row + col.
    /// Used by the diagnostic picker to land on the diag start position.
    JumpToRowCol(usize, usize),
    /// Apply the code action at index `i` from `App::pending_code_actions`.
    /// Phase 5 LSP code actions.
    ApplyCodeAction(usize),
    /// Install (or reinstall) the named anvil tool.
    AnvilInstall(String),
    /// No-op placeholder used by the picker for already-installed tools.
    AnvilNoOp(String),
}