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
154154 aligned correctly.
155155
156156 ``font_size``
157− Default: 16
157+ Default: 24
158158
159159 Set the font size used for the REPL and the console. This will be
160160 multiplied by ``display-hidpi-scale``.
161161
162162 ``border_size``
163− Default: 1
163+ Default: 1.5
164164
165165 Set the font border size used for the REPL and the console.
166166
player/lua/console.lua+2−2
@@ -18,8 +18,8 @@ local assdraw = require 'mp.assdraw' · 17 unmodified lines
1818 -- Default options
1919 local opts = {
2020 font = "",
21− font_size = 16,
22− border_size = 1,
21+ font_size = 24,
22+ border_size = 1.5,
2323 scale_with_window = "auto",
2424 case_sensitive = true,
2525 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