jk 0.2.7

A jj-native terminal UI for Jujutsu
1
2
3
4
5
6
7
8
9
use jk_cli::{RecordingJjCommandRunner, SystemJjCommandRunner};
use jk_core::{CommandHistory, CommandSource};

pub const fn recording_runner(
    history: &mut CommandHistory,
    source: CommandSource,
) -> RecordingJjCommandRunner<'_, SystemJjCommandRunner> {
    RecordingJjCommandRunner::new(SystemJjCommandRunner, history, source)
}