Cleanup previous PR
This commit is contained in:
parent
14fc3f6ac4
commit
e9823eb40c
2 changed files with 5 additions and 4 deletions
|
|
@ -97,6 +97,8 @@ Detailed list of changes
|
|||
|
||||
- ssh kitten: Allow completion of ssh options between the destination and command (:iss:`5322`)
|
||||
|
||||
- macOS: Fix speaking selected text not working (:iss:`5357`)
|
||||
|
||||
|
||||
0.25.2 [2022-06-07]
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
|
|
|||
|
|
@ -1558,16 +1558,15 @@ - (NSAccessibilityRole)accessibilityRole
|
|||
|
||||
- (NSString *)accessibilitySelectedText
|
||||
{
|
||||
NSString *text = nil;
|
||||
if (_glfw.callbacks.get_current_selection) {
|
||||
NSString *text = nil;
|
||||
const char *s = _glfw.callbacks.get_current_selection();
|
||||
if (s) {
|
||||
text = [NSString stringWithUTF8String:s];
|
||||
free((void*) s);
|
||||
return text;
|
||||
free(s);
|
||||
}
|
||||
}
|
||||
return nil;
|
||||
return text;
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
|||
Loading…
Reference in a new issue