mirror of
https://github.com/paradoxxxzero/butterfly.git
synced 2025-04-14 17:08:34 +00:00
Fix cc freeze
This commit is contained in:
parent
4e66196d65
commit
ed03f94c84
5 changed files with 6 additions and 3 deletions
2
butterfly/static/ext.min.js
vendored
2
butterfly/static/ext.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -1504,6 +1504,7 @@
|
|||
}
|
||||
this.body.classList.add('stopped');
|
||||
this.stop = true;
|
||||
return this.send(' \x7f');
|
||||
} else if (this.stop) {
|
||||
return true;
|
||||
}
|
||||
|
|
4
butterfly/static/main.min.js
vendored
4
butterfly/static/main.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -1415,6 +1415,7 @@ class Terminal
|
|||
@t_bell, @t_queue, @t_blink]) while id--
|
||||
@body.classList.add 'stopped'
|
||||
@stop = true
|
||||
return @send ' \x7f'
|
||||
else if @stop
|
||||
return true
|
||||
@lastcc = t
|
||||
|
|
1
setup.py
1
setup.py
|
@ -31,6 +31,7 @@ options = dict(
|
|||
'static/fonts/*',
|
||||
'static/images/favicon.png',
|
||||
'static/main.css',
|
||||
'static/html-sanitizer.js',
|
||||
'static/*.min.js',
|
||||
'templates/index.html',
|
||||
'bin/*',
|
||||
|
|
Loading…
Add table
Reference in a new issue