* Some notes mostly
This commit is contained in:
parent
1f409435f4
commit
2391ce6bc9
Binary file not shown.
|
@ -55,13 +55,13 @@ function FullScreenEditorModule(options) {
|
|||
// Header: mciData.body.height
|
||||
// Body : We must find this in the config / theme
|
||||
//
|
||||
// :TODO: don't hard code this -- allow footer to be themed/etc.
|
||||
// :TODO: don't hard code this -- allow footer height to be part of theme/etc.
|
||||
self.client.term.rawWrite(ansi.goto(23, 1));
|
||||
callback(null);
|
||||
},
|
||||
function clearFooterArea(callback) {
|
||||
if(options.clear) {
|
||||
self.client.term.rawWrite(ansi.deleteLine(3));
|
||||
self.client.term.rawWrite(ansi.reset() + ansi.deleteLine(3));
|
||||
}
|
||||
callback(null);
|
||||
},
|
||||
|
|
|
@ -575,7 +575,7 @@
|
|||
"HM1" : {
|
||||
"mci" : {
|
||||
"HM1" : {
|
||||
"items" : [ "Menu 1", "Menu 2", "Menu 3", "Menu 4" ]
|
||||
"items" : [ "Save", "Discard", "Menu 3", "Help" ]
|
||||
}
|
||||
},
|
||||
"submit" : {
|
||||
|
@ -602,16 +602,19 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
//
|
||||
// :TODO: concept to replace "submit" per view
|
||||
// existing submit would remain only as boolean
|
||||
// ...need general way to override keys for a view -- submit, next, etc.
|
||||
"actionKeys" : [ // :TODO: Need better name
|
||||
{
|
||||
"keys" : [ "escape" ],
|
||||
"action" : "@method:editModeEscPressed"
|
||||
}
|
||||
]
|
||||
// :TODO: something like the following for overriding keymap
|
||||
// this should only override specified entries. others will default
|
||||
/*
|
||||
"keyMap" : {
|
||||
"accept" : [ "return" ]
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue