Made table information available to scripts (#49)

- Added a property with table information to session and result set Script types
- Added the ability to add new key bindings to the script
- Rebuilt the foreground job dispatcher to reduce the occurrence of the progress indicator showing up when no job was running.
- Fixed rebinding of keys. Rebinding a key will no longer clear other keys for the old or new bindings.
This commit is contained in:
Leon Mika 2023-02-22 21:53:05 +11:00 • committed by GitHub
parent 733e59ec95
commit 3f1aec2c87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 710 additions and 115 deletions

View file

@ -114,7 +114,7 @@ func main() {
scriptController := controllers.NewScriptController(scriptManagerService, tableReadController, settingsController, eventBus)
keyBindingService := keybindings_service.NewService(keyBindings)
keyBindingController := controllers.NewKeyBindingController(keyBindingService)
keyBindingController := controllers.NewKeyBindingController(keyBindingService, scriptController)
commandController := commandctrl.NewCommandController(inputHistoryService)
commandController.AddCommandLookupExtension(scriptController)