Skip to content

FinceptTerminal is a modern finance application offering advanced market analytics, investment research, and economic data tools, designed for interactive exploration and data-driven decision-making in a user-friendly environment.

1.1 KB
Raw Blame
#pragma once

namespace fincept {

enum class KeyAction {
    // Global
    Refresh,
    ToggleChat,
    FocusMode,
    Fullscreen,
    Screenshot,

    // CommandBar navigation
    NavNext,
    NavPrev,
    NavAccept,
    NavEscape,

    // News
    NewsNext,
    NewsPrev,
    NewsOpen,
    NewsClose,

    // Code editor
    RunCell,
    RunAndNext,
    RenameCell,

    // Focus WindowFrame N (Ctrl+1..9; Ctrl+1 = window_id 0).
    FocusWindow1,
    FocusWindow2,
    FocusWindow3,
    FocusWindow4,
    FocusWindow5,
    FocusWindow6,
    FocusWindow7,
    FocusWindow8,
    FocusWindow9,

    CyclePanelsForward,
    CyclePanelsBack,

    CycleWindowsForward,
    CycleWindowsBack,

    NewWindowNextMonitor,

    // Move WindowFrame to monitor N (Ctrl+Shift+1..9).
    MoveWindowToMonitor1,
    MoveWindowToMonitor2,
    MoveWindowToMonitor3,
    MoveWindowToMonitor4,
    MoveWindowToMonitor5,
    MoveWindowToMonitor6,
    MoveWindowToMonitor7,
    MoveWindowToMonitor8,
    MoveWindowToMonitor9,

    BrowseComponents,
    ToggleAlwaysOnTop,

    /// Manual lock — bypasses inactivity timer. Default Ctrl+L.
    LockNow,
};

} // namespace fincept