mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-10 20:05:50 +02:00
introduce panel contexts and more work on rebasing
This commit is contained in:
parent
daca07eaca
commit
198cbee498
11 changed files with 326 additions and 232 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue