History

console.lua: increase the font and border size

Make the console easier to read because the current default is too small. See for example https://github.com/mpv-player/mpv/discussions/14903#discussioncomment-10794701 or https://github.com/mpv-player/mpv/pull/15036#discussion_r1794178379 or https://github.com/mpv-player/mpv/pull/15145#issuecomment-2428762898 or https://github.com/mpv-player/mpv/pull/15031#issuecomment-2402289600. This also prevents libass from decreasing performance by printing many lines.

Guido Cella committed 2 years ago

Commit d2fd3941 parent e00d8dc2 files · +4 −4Browse files

Unified · Split

2 files
  1. DOCS/man/console.rst +2 −2
  2. player/lua/console.lua +2 −2
DOCS/man/console.rst+2−2
@@ -154,13 +154,13 @@ Configurable Options · 153 unmodified lines
154 aligned correctly.154 aligned correctly.
155 155
156``font_size``156``font_size``
157 Default: 16157 Default: 24
158 158
159 Set the font size used for the REPL and the console. This will be159 Set the font size used for the REPL and the console. This will be
160 multiplied by ``display-hidpi-scale``.160 multiplied by ``display-hidpi-scale``.
161 161
162``border_size``162``border_size``
163 Default: 1163 Default: 1.5
164 164
165 Set the font border size used for the REPL and the console.165 Set the font border size used for the REPL and the console.
166 166
player/lua/console.lua+2−2
@@ -18,8 +18,8 @@ local assdraw = require 'mp.assdraw' · 17 unmodified lines
18-- Default options18-- Default options
19local opts = {19local opts = {
20 font = "",20 font = "",
21 font_size = 16,21 font_size = 24,
22 border_size = 1,22 border_size = 1.5,
23 scale_with_window = "auto",23 scale_with_window = "auto",
24 case_sensitive = true,24 case_sensitive = true,
25 history_dedup = true,25 history_dedup = true,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t