rusty-bubbletea 2.0.8

Cleanroom Rust port of Charmbracelet's Bubble Tea (v2.0.8) TUI Elm architecture framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Cleanroom Rust port of upstream Go source file: `input.go`
//! Upstream Target Tag / Version: `v2.0.8`
//!
//! <public-docs>
//! # Input Event Translator
//!
//! Helper logic translating raw terminal events into Bubble Tea v2.0.8 message structs.
//! </public-docs>

use crate::model::Msg;

/// InputEventTranslator helper.
pub fn translate_input_event(msg: Box<dyn Msg>) -> Box<dyn Msg> {
    msg
}