mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
change \r\n to \n when pasting in terminal
This commit is contained in:
parent
a65656baee
commit
058508d97a
@ -206,7 +206,7 @@ define(function(require, exports, module) {
|
||||
}]);
|
||||
|
||||
ace.onPaste = function(text) {
|
||||
this.send(text);
|
||||
this.send(text.replace(/\r\n/g, "\n"));
|
||||
};
|
||||
|
||||
ace.setKeyboardHandler(this);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user