mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-22 21:01:24 +03:00
tweaks: don't enable bracketed pasting when not handling such pastes
The tiny version is oblivious of bracketed pastes, as it serves no purpose: in the tiny version there is no auto-indent nor undo nor tabs-to-spaces conversion.
This commit is contained in:
parent
2651554721
commit
d764d7094f
@ -1302,10 +1302,11 @@ void terminal_init(void)
|
||||
} else
|
||||
tcsetattr(0, TCSANOW, &desired_state);
|
||||
#endif
|
||||
|
||||
#ifndef NANO_TINY
|
||||
/* Tell the terminal to enable bracketed pastes. */
|
||||
printf("\e[?2004h");
|
||||
fflush(stdout);
|
||||
#endif
|
||||
}
|
||||
|
||||
/* Ask ncurses for a keycode, or assign a default one. */
|
||||
|
Loading…
Reference in New Issue
Block a user