Skip to main content

turbo_debug_console/
cmd.rs

1// Copyright (c) 2026 Enzo Lombardi
2// SPDX-License-Identifier: MIT
3
4//! Application command ids.
5//!
6//! Turbo Vision reserves the low range for built-ins (`CM_QUIT`, `CM_CLOSE`,
7//! `CM_TILE`, ...). These start at 1000 to stay clear of them.
8
9use turbo_vision::core::command::CommandId;
10
11/// File > Open capture...
12pub const CM_OPEN_CAPTURE: CommandId = 1000;
13/// File > Save As...
14pub const CM_SAVE_AS: CommandId = 1001;
15/// View > Clear window
16pub const CM_CLEAR_WINDOW: CommandId = 1004;