Skip to content

Commit 42b07cc

Browse files
committed
Use UV_TTY_MODE_RAW_VT for the console mode (enables bracket paste in Windows)
add NEWS entry
1 parent dd17436 commit 42b07cc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

NEWS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ Standard library changes
9696

9797
#### REPL
9898

99+
* The Julia REPL now support bracketed paste on Windows which should significantly speed up pasting large code blocks into the REPL ([#59825])
99100
* The display of `AbstractChar`s in the main REPL mode now includes LaTeX input information like what is shown in help mode ([#58181]).
100101
* Display of repeated frames and cycles in stack traces has been improved by bracketing them in the trace and treating them consistently ([#55841]).
101102

src/jl_uv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1182,7 +1182,7 @@ JL_DLLEXPORT int jl_tty_set_mode(uv_tty_t *handle, int mode)
11821182
if (handle->type != UV_TTY) return 0;
11831183
uv_tty_mode_t mode_enum = UV_TTY_MODE_NORMAL;
11841184
if (mode)
1185-
mode_enum = UV_TTY_MODE_RAW;
1185+
mode_enum = UV_TTY_MODE_RAW_VT;
11861186
// TODO: do we need lock?
11871187
return uv_tty_set_mode(handle, mode_enum);
11881188
}

0 commit comments

Comments
 (0)