aboutsummaryrefslogtreecommitdiff
path: root/qml/ui.qrc
diff options
context:
space:
mode:
authorAdrian Kummerlaender2015-08-09 20:10:38 +0200
committerAdrian Kummerlaender2015-08-09 20:10:38 +0200
commit22276404e5c3f3833a2de5f1971be24f0729aa6e (patch)
tree4a846db44335097894a26bef95c96aedaa19c858 /qml/ui.qrc
parent3d618159831b6379f2aefc27d8f744fd46a9f3d2 (diff)
downloadMetaTerm-22276404e5c3f3833a2de5f1971be24f0729aa6e.tar
MetaTerm-22276404e5c3f3833a2de5f1971be24f0729aa6e.tar.gz
MetaTerm-22276404e5c3f3833a2de5f1971be24f0729aa6e.tar.bz2
MetaTerm-22276404e5c3f3833a2de5f1971be24f0729aa6e.tar.lz
MetaTerm-22276404e5c3f3833a2de5f1971be24f0729aa6e.tar.xz
MetaTerm-22276404e5c3f3833a2de5f1971be24f0729aa6e.tar.zst
MetaTerm-22276404e5c3f3833a2de5f1971be24f0729aa6e.zip
Implement basic command dispatch logic
Moved command implementation into separate ressource. Commands are plain JavaScript functions in this separate ressource and as such callable via a simple call to `eval`. Introduced the concept of a command prefix to enable implementation of e.g. a search command analogously to _vim_.
Diffstat (limited to 'qml/ui.qrc')
-rw-r--r--qml/ui.qrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/qml/ui.qrc b/qml/ui.qrc
index df6d4e3..c8bd040 100644
--- a/qml/ui.qrc
+++ b/qml/ui.qrc
@@ -7,5 +7,6 @@
<file>CommandInput.qml</file>
<file>TerminalList.qml</file>
<file>Highlighter.qml</file>
+ <file>commands.js</file>
</qresource>
</RCC>