summaryrefslogtreecommitdiffstats
path: root/osdep/terminal-dummy.c
Commit message (Collapse)AuthorAgeFilesLines
* win32: change fputs to fwrite wrapperKacper Michajłow2024-04-071-1/+1
| | | | | | | | | Removes mp_puts/mp_fputs and adds mp_fwrite. In fact I wanted fwrite instead of puts, no need to make it more awkward with the implicit new lines. Fixes: fc55f355fc8225328cf0472e3deb4021eba96303
* win32: add puts/fputs wrappersKacper Michajłow2024-03-191-1/+6
|
* win32: optimize mp_vfprintf a littleKacper Michajłow2024-03-191-1/+4
| | | | | | | | - remove redundant strlen/wcslen - reuse allocated temporary buffers The difference is not big, but it satisfies me to remove those redundancies.
* osdep/terminal: Add function to get terminal pixel dimensionsShreesh Adiga2020-11-221-0/+4
|
* build: change how some OS specific source files are selectedwm42017-06-291-0/+31
In a bunch of cases, we emulate highly platform specific APIs on a higher level across all OSes, such as IPC, terminal, subprocess handling, and more. We have source files for each OS, and they implement all the same mpv internal API. Selecting which source file to use on an OS can be tricky, because there is partially overlapping and emulated APIs (consider Cygwin on Windows). Add a pick_first_matching_dep() function to make this slightly easier and more structured. Also add dummy backends in some cases, to deal with APIs not being available. Clarify the Windows dependency identifiers, as these are the most confusing.