macOS: Cmd + Backspace does not delete to the beginning of the line on macOS

Open Beginner friendly
#1,766 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
macos, rust

Research direction

Start by tracing Rio's keyboard handling for Cmd + Backspace on macOS and compare it with the existing Ctrl + Backspace behavior on Windows and macOS. Done means Cmd + Backspace deletes from the cursor to the beginning of the current line without changing the existing shortcuts.

Written by the indexing model from the issue text.

Description

On macOS, Cmd + Backspace currently has no effect in Rio.

By default, the macOS behavior for Cmd + Backspace is to delete all text from the cursor position to the beginning of the current line.

Interestingly, the equivalent behavior appears to work on Windows using Ctrl + Backspace, but the macOS shortcut is currently missing.

Expected behavior:

  • Pressing Cmd + Backspace should delete all text from the cursor position to the beginning of the current line, matching the standard macOS text editing behavior.

Actual behavior:

  • Pressing Cmd + Backspace does nothing.

edit: on macOS also ctrl + backspace has the desired behavior but it should be cmd + backspace

Dominant language
Rust
Stars
7.5k
Forks
353
Avg merge
2d 15h
Merged PRs (30d)
14

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raphamorim/rio

All issues in raphamorim/rio

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.