Skip to content

moveCommandHistoryCursor

This content is for v1.2.0. Switch to the latest version for up-to-date documentation.

moveCommandHistoryCursor(input): CommandHistoryCursorIndex

Defined in: domain/storage/command-history-navigation.ts:79

Command history cursorを移動。

MoveCommandHistoryCursorInput

Command history cursor移動入力。

CommandHistoryCursorIndex

移動後cursor index。

const result = moveCommandHistoryCursor({ currentIndex: false, direction: "previous", itemCount: 3 });
// 2

Last updated: