codemirror update + build

This commit is contained in:
Leon van Kammen 2024-12-17 12:47:45 +01:00
parent 31e09f9e4a
commit e1b12b5dc6
3 changed files with 15 additions and 15 deletions

View File

@ -57,23 +57,23 @@ Currently the following languages are supported:
``` ```
xrsh # screen DR # list of detached screen xrsh # screen DR # list of detached screen
xrsh # screen r PID # attach detached screen ses­sion xrsh # screen r PID # attach detached screen session
xrsh # screen dmS Myses # start a detached screen ses­sion xrsh # screen dmS Myses # start a detached screen session
xrsh # screen r MySes #attach screen ses­sion with name MySession xrsh # screen r MySes #attach screen session with name MySession
``` ```
## Basics ## Basics
``` ```
ctrl a c -> create new window ctrl a c -> create new window
ctrl a A -> set win­dow name ctrl a A -> set window name
ctrl a w -> show all win­dow ctrl a w -> show all window
ctrl a 1|2|3|… -> switch to win­dow n ctrl a 1|2|3|… -> switch to window n
ctrl a " -> choose win­dow ctrl a " -> choose window
ctrl a ctrl a -> switch between win­dow ctrl a ctrl a -> switch between window
ctrl a d -> detach win­dow ctrl a d -> detach window
ctrl a ? -> help ctrl a ? -> help
ctrl a [ -> start copy, move cur­sor to the copy loca­tion, press ENTER, select the chars, press ENTER to copy the selected char­ac­ters to the buffer ctrl a [ -> start copy, move cursor to the copy location, press ENTER, select the chars, press ENTER to copy the selected characters to the buffer
ctrl a ] -> paste from buffer ctrl a ] -> paste from buffer
``` ```
@ -82,10 +82,10 @@ ctrl a ] -> paste from buffer
``` ```
ctrl a S -> cre­ate split screen ctrl a S -> cre­ate split screen
ctrl a TAB -> switch between split screens ctrl a TAB -> switch between split screens
ctrl a Q -> Kill all regions but the cur­rent one. ctrl a Q -> Kill all regions but the current one.
ctrl a X -> remove active win­dow from split screen ctrl a X -> remove active window from split screen
ctrl a O -> logout active win­dow (dis­able out­put) ctrl a O -> logout active window (disable output)
ctrl a I -> login active win­dow (enable output) ctrl a I -> login active window (enable output)
``` ```
# Importing files # Importing files

View File

@ -63,7 +63,7 @@ AFRAME.registerComponent('codemirror', {
}, },
createEditor: function(value){ createEditor: function(value){
this.el.setAttribute("window", `title: codemirror; uid: ${this.el.dom.id}; attach: #overlay; dom: #${this.el.dom.id}; width: ${this.data.width}px; height: ${this.data.height}px`) this.el.setAttribute("window", `title: codemirror; uid: ${this.el.dom.id}; attach: #overlay; dom: #${this.el.dom.id}; width: ${this.data.width}px; height: ${this.data.height}px; class: no-full, no-resize`)
this.editor = CodeMirror( this.el.dom, { this.editor = CodeMirror( this.el.dom, {
value, value,
mode: this.data.file.match(/\.js$/) ? "text/javascript" : mode: this.data.file.match(/\.js$/) ? "text/javascript" :

BIN
dist/v86-linux.iso vendored

Binary file not shown.