mirror of
https://github.com/He4eT/cheap-glkote.git
synced 2026-05-05 08:57:25 +00:00
Use emglken 0.5.2
This commit is contained in:
parent
a594cb1f74
commit
cb7d6e51f9
6 changed files with 49 additions and 41 deletions
|
|
@ -2,6 +2,8 @@
|
|||
* @see: https://github.com/curiousdannii/glkote-term/blob/master/src/glkote-term.js
|
||||
*/
|
||||
|
||||
import packageJSON from '../../package.json' assert { type: 'json' }
|
||||
|
||||
class GlkOte {
|
||||
constructor({width, height}) {
|
||||
this.width = width
|
||||
|
|
@ -11,7 +13,7 @@ class GlkOte {
|
|||
this.disabled = false
|
||||
this.generation = 0
|
||||
this.interface = null
|
||||
this.version = require('../../package.json').version
|
||||
this.version = packageJSON.version
|
||||
}
|
||||
|
||||
measure_window() {
|
||||
|
|
@ -149,4 +151,4 @@ class GlkOte {
|
|||
}
|
||||
}
|
||||
|
||||
module.exports = GlkOte
|
||||
export default GlkOte
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue