mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 21:05:48 +02:00
rename OSCommand field to os
This commit is contained in:
parent
d82f175e79
commit
cd31a762b9
13 changed files with 32 additions and 22 deletions
|
@ -15,7 +15,7 @@ func (gui *Gui) exitDiffMode() error {
|
|||
}
|
||||
|
||||
func (gui *Gui) renderDiff() error {
|
||||
cmdObj := gui.OSCommand.Cmd.New(
|
||||
cmdObj := gui.os.Cmd.New(
|
||||
fmt.Sprintf("git diff --submodule --no-ext-diff --color %s", gui.diffStr()),
|
||||
)
|
||||
task := NewRunPtyTask(cmdObj.GetCmd())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue