Skip to content

[Bug] Arrow key problem in MacOS chat window #14764

Closed

Description

@twhlai

Environment

Where are you using Unsloth?

  • Unsloth desktop application
  • Unsloth web UI (unsloth studio)
  • Unsloth CLI
  • Python package or notebook
  • Colab or Kaggle

Operating system and version:

MacOS 27.0.1

GPU model(s) and accelerator backend:

Apple

Versions:

Unsloth Version
v0.1.909-beta
Package Version
2026.10.7
Desktop App Version
0.1.909-beta
llama.cpp Version
b11798-mix-f8a7950
audio.cpp Version
v0.9.2-unsloth.1

What happened?

Steps to reproduce:

In a chat window on MacOS, press the left arrow key at the beginning of the chat text or the right arrow key at the end of the text.

Expected behavior:

On Windows, pressing the left arrow key at the text beginning or the right arrow key at the end does nothing.

Actual behavior:

On MacOS, pressing the left arrow at the beginning or right arrow at the end causes strange characters to appear.

Activity

  1. added
    feature request
    on Oct 22, 2026
  2. debojyoti-dev commented on Oct 22, 2026

    @debojyoti-dev
    Contributor

    Hi, I'd like to work on this one. I'll open a PR shortly.

  3. danielhanchen commented on Oct 23, 2026

    @danielhanchen
    Member

    Fixed! On macOS the desktop app's webview handed keys it did not use back to the window, which typed an invisible control character into the field (left at the start, right at the end, and also Home / End). That is fixed in #14815, so those keys now leave the chat box unchanged, the same as on Windows. Thanks for the report, and thanks @debojyoti-dev for the PR.
    To update: Unsloth Desktop will have an update banner. For Studio, use unsloth studio update. For Docker, use docker exec <container> unsloth-studio-update. Reopen if it still happens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfeature request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions