Skip to content

Conversation

@sectore
Copy link

@sectore sectore commented Oct 19, 2025

ctrl+left, ctrl+right, ctrl+up, ctrl+down

Examples:

1. word navigation: ctrl+left / ctrl+right

ctrl

Output examples/ctrl.gif

Set Shell bash
Set Width 800
Set Height 200
Set FontSize 32

# Test Ctrl+Left and Ctrl+Right (word navigation in bash)
Type@10ms "echo 'How are you?'"
Sleep 500ms
Ctrl+Left
Sleep 300ms
Ctrl+Left
Sleep 300ms
Ctrl+Left
Sleep 300ms
Ctrl+Right
Sleep 300ms
Ctrl+Right
Sleep 300ms
Ctrl+Right
Sleep 300ms

2. command history: ctrl+up / ctrl+down

ctrl2

Output examples/ctrl2.gif

Set Width 800
Set Height 400
Set FontSize 32
Set Shell zsh

# Test Ctrl+Up and Ctrl+Down (command history in zsh)
# Setup keybindings
Hide
Type "bindkey '^[[1;5A' up-line-or-history && bindkey '^[[1;5B' down-line-or-history && clear"
Enter
Show

# type commands
Type@10ms "echo '1. command'"
Enter
Type@10ms "echo '2. command'"
Enter
Type@10ms "echo '3. command'"
Enter
Sleep 300ms
# history back
Ctrl+Up
Sleep 300ms
Ctrl+Up
Sleep 300ms
Ctrl+Up
Sleep 300ms
# history forward
Ctrl+Down
Sleep 300ms
Ctrl+Down
Sleep 300ms
Ctrl+Down
Sleep 300ms
  • I have read CONTRIBUTING.md.
  • I have created a discussion that was approved by a maintainer (for new features).

`ctrl+left`, `ctrl+right`, `ctrl+up`, ctrl+down`
@sectore sectore requested a review from a team as a code owner October 19, 2025 16:49
@sectore sectore requested review from meowgorithm and tauraamui and removed request for a team October 19, 2025 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant