Showing the changes to player/lua/console.lua (1 of 1 file). Show all
Unified · Split
| @@ -247,7 +247,8 @@ local function ass_escape(str) · 246 unmodified lines | |||
| 247 | end | 247 | end |
| 248 | 248 | ||
| 249 | local function calculate_max_log_lines() | 249 | local function calculate_max_log_lines() |
| 250 | if not mp.get_property_native('vo-configured') then | 250 | if not mp.get_property_native('vo-configured') |
| 251 | or not mp.get_property_native('video-osd') then | ||
| 251 | -- Subtract 1 for the input line and for each line in the status line. | 252 | -- Subtract 1 for the input line and for each line in the status line. |
| 252 | -- This does not detect wrapped lines. | 253 | -- This does not detect wrapped lines. |
| 253 | return mp.get_property_native('term-size/h', 24) - 2 - | 254 | return mp.get_property_native('term-size/h', 24) - 2 - |