Skip to content

feat(macos): auto-select newline mode for terminal apps - #988

Merged
H-Chris233 merged 3 commits into
Open-Less:betafrom
H-Chris233:codex/issue-982-macos-newline-auto
Aug 23, 2026
Merged

feat(macos): auto-select newline mode for terminal apps#988
H-Chris233 merged 3 commits into
Open-Less:betafrom
H-Chris233:codex/issue-982-macos-newline-auto

Conversation

@H-Chris233

Copy link
Copy Markdown
Collaborator

Summary

  • Adds a Line Feed option that sends U+000A / Ctrl+J for terminal CLI agents.
  • Adds Auto as the new macOS newline default.
  • Auto uses Line Feed in known terminal apps and Shift+Return elsewhere.
  • Resolves the target once from the app captured at dictation start, so switching between apps does not require changing settings.
  • Keeps Shift+Return, Line Feed, and Return as explicit overrides.

Detection

Auto reuses the existing case-insensitive terminal bundle ID prefix list used by the host-document safety gate. This covers Terminal, iTerm2, Warp, WezTerm, Alacritty, kitty, Hyper, Tabby, and Ghostty. Unknown apps fall back to Shift+Return.

Validation

  • cargo test --manifest-path openless-all/app/src-tauri/Cargo.toml macos_ --lib (14 passed)
  • cargo test --manifest-path openless-all/app/src-tauri/Cargo.toml --lib (1254 passed, 7 ignored)
  • npm test (56 frontend tests passed)
  • npm run build
  • git diff --check

Validation was run locally on Windows. The macOS event behavior still needs macOS CI and/or real-device confirmation.

Closes #982

@H-Chris233
H-Chris233 merged commit 6efc839 into Open-Less:beta Aug 23, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant