mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-25 13:16:11 +03:00
field rename
This commit is contained in:
@ -780,8 +780,8 @@ fn keyCallback(
|
|||||||
.copy_to_clipboard => {
|
.copy_to_clipboard => {
|
||||||
// We can read from the renderer state without holding
|
// We can read from the renderer state without holding
|
||||||
// the lock because only we will write to this field.
|
// the lock because only we will write to this field.
|
||||||
if (win.renderer_state.terminal.selection) |sel| {
|
if (win.io.terminal.selection) |sel| {
|
||||||
var buf = win.renderer_state.terminal.screen.selectionString(
|
var buf = win.io.terminal.screen.selectionString(
|
||||||
win.alloc,
|
win.alloc,
|
||||||
sel,
|
sel,
|
||||||
) catch |err| {
|
) catch |err| {
|
||||||
@ -807,7 +807,7 @@ fn keyCallback(
|
|||||||
const bracketed = bracketed: {
|
const bracketed = bracketed: {
|
||||||
win.renderer_state.mutex.lock();
|
win.renderer_state.mutex.lock();
|
||||||
defer win.renderer_state.mutex.unlock();
|
defer win.renderer_state.mutex.unlock();
|
||||||
break :bracketed win.renderer_state.terminal.modes.bracketed_paste;
|
break :bracketed win.io.terminal.modes.bracketed_paste;
|
||||||
};
|
};
|
||||||
|
|
||||||
if (bracketed) {
|
if (bracketed) {
|
||||||
|
Reference in New Issue
Block a user