mpv-player / mpv-player/mpv

Numpad keys not recognized correctly in terminal mode

Open
#16,848 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

os:linux priority:needs-author-feedback
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

mpv Information
mpv v0.40.0-dirty Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
 built on Aug 12 2025 17:58:19
libplacebo version: v7.351.0
FFmpeg version: n7.1.1
FFmpeg library versions:
   libavcodec      61.19.101
   libavdevice     61.3.100
   libavfilter     10.4.100
   libavformat     61.7.100
   libavutil       59.39.100
   libswresample   5.3.100
   libswscale      8.3.100
Other Information
- Linux version: "Arch Linux"
- Kernel Version: 6.15.3-zen1-1-zen
- GPU Model: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
- Mesa/GPU Driver Version: OpenGL version string: 4.2 (Compatibility Profile) Mesa 25.2.3-arch1.2
- Window Manager and Version: i3wm 4.24
- Source of mpv: archlinux.org repository
Reproduction Steps

Set input.conf to this two lines:
KP_DIVIDE ignore
KP_MULTIPLY ignore

Run mpv:
mpv --no-video <media file>

Expected Behavior

Pressing '/' or '*' on keypad should be ignored.

Actual Behavior

Pressing '/' or '*' on keypad changes volume. This is default behavior.

Log File

output.txt

Sample Files

This happens with any audio file or video file that only plays the audio track - based on my testing.

I carefully read all instruction and confirm that I did the following:
  • I tested with the latest mpv version to validate that the issue is not already fixed.
  • I provided all required information including system and mpv version.
  • I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of --log-file=output.txt.
  • I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
  • I attached the full, untruncated log file.
  • I attached the backtrace in the case of a crash.

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.

Research direction

Reproduce the issue with mpv --no-video and the two input.conf entries KP_DIVIDE ignore and KP_MULTIPLY ignore. Start by examining the terminal input handling and the attached output.txt, then verify that keypad '/' and '*' no longer change volume while other input behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.