introduce panel contexts and more work on rebasing

This commit is contained in:
Jesse Duffield 2019-02-16 12:07:27 +11:00
parent daca07eaca
commit 198cbee498
11 changed files with 326 additions and 232 deletions

View file

@ -10,11 +10,12 @@ package main
import (
"fmt"
"github.com/jesseduffield/lazygit/pkg/app"
"github.com/jesseduffield/lazygit/pkg/config"
"log"
"os"
"strings"
"github.com/jesseduffield/lazygit/pkg/app"
"github.com/jesseduffield/lazygit/pkg/config"
)
func writeString(file *os.File, str string) {
@ -43,6 +44,7 @@ func main() {
writeString(file, "<pre>\n")
// TODO: add context-based keybindings
for _, binding := range mApp.Gui.GetKeybindings() {
if binding.Description == "" {
continue