Showing the changes to player/command.c (1 of 9 files). Show all
Unified · Split
| @@ -2926,6 +2926,12 @@ static int mp_property_osd_ass(void *ctx, struct m_property *prop, · 2925 unmodified lines | ||
| 2926 | 2926 | return m_property_read_sub(props, action, arg); |
| 2927 | 2927 | } |
| 2928 | 2928 | |
| 2929 | +static int mp_property_term_clip(void *ctx, struct m_property *prop, | |
| 2930 | + int action, void *arg) | |
| 2931 | +{ | |
| 2932 | + return m_property_strdup_ro(action, arg, TERM_MSG_0); | |
| 2933 | +} | |
| 2934 | + | |
| 2929 | 2935 | static int mp_property_term_size(void *ctx, struct m_property *prop, |
| 2930 | 2936 | int action, void *arg) |
| 2931 | 2937 | { |
| @@ -4159,6 +4165,8 @@ static const struct m_property mp_properties_base[] = { · 1227 unmodified lines | ||
| 4159 | 4165 | {"osd-sym-cc", mp_property_osd_sym}, |
| 4160 | 4166 | {"osd-ass-cc", mp_property_osd_ass}, |
| 4161 | 4167 | |
| 4168 | + {"term-clip-cc", mp_property_term_clip}, | |
| 4169 | + | |
| 4162 | 4170 | {"mouse-pos", mp_property_mouse_pos}, |
| 4163 | 4171 | {"touch-pos", mp_property_touch_pos}, |
| 4164 | 4172 | |