jesseduffield / jesseduffield/lazygit
does not launch in emacs shell
- Dominant language
- Go
- Stars
- 82.4k
- Forks
- 3k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 19
Description
**Describe the bug**
Lazygit will not run.
Produces this error
```
025/01/27 18:49:47 An error occurred! Please create an issue at: https://github.com/jesseduffield/lazygit/issues
*errors.errorString terminal not cursor addressable
/home/runner/work/lazygit/lazygit/pkg/app/app.go:55 (0xbdc245)
/home/runner/work/lazygit/lazygit/pkg/app/entry_point.go:168 (0xbde3ab)
/home/runner/work/lazygit/lazygit/main.go:23 (0xbdfdd8)
/opt/hostedtoolcache/go/1.22.10/x64/src/runtime/internal/atomic/types.go:194 (0x43ff5d)
/opt/hostedtoolcache/go/1.22.10/x64/src/runtime/asm_amd64.s:1695 (0x477e81)
```
**To Reproduce**
Steps to reproduce the behavior:
1. Open a shell.
2. Run `lazygit`
3. errors
**Expected behavior**
The program to launch
**Screenshots**

**Version info:**
`commit=91cb1ff29a01fdf643ccc38b97fd816b2a097bec, build date=2025-01-11T04:06:07Z, build source=binaryRelease, version=0.45.0, os=linux, arch=amd64, git version=2.25.1`
`git version 2.25.1`
**Additional context**
`$emacs --version`
```
GNU Emacs 28.1
Copyright (C) 2022 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
```
Logs only get this far:
```
dleiferives@LAPTOP-KVL0LJ9D:/mnt/c/org$ lazygit --logs
Tailing log file /home/dleiferives/.local/state/lazygit/development.log
Jan 27 18:57:38 |DEBU| RunCommand command="git --version"
Jan 27 18:57:38 |INFO| git --version (1.2103ms)
Jan 27 18:57:38 |DEBU| RunCommand command="git -C /mnt/c/org rev-parse --show-toplevel --absolute-git-dir --git-common-dir --is-bare-repository --show-superproject-working-tree"
Jan 27 18:57:38 |INFO| git -C /mnt/c/org rev-parse --show-toplevel --absolute-git-dir --git-common-dir --is-bare-repository --show-superproject-working-tree (17.4223ms)
Jan 27 18:57:38 |ERRO| *errors.errorString terminal not cursor addressable
/home/runner/work/lazygit/lazygit/pkg/app/app.go:55 (0xbdc245)
/home/runner/work/lazygit/lazygit/pkg/app/entry_point.go:168 (0xbde3ab)
/home/runner/work/lazygit/lazygit/main.go:23 (0xbdfdd8)
/opt/hostedtoolcache/go/1.22.10/x64/src/runtime/internal/atomic/types.go:194 (0x43ff5d)
/opt/hostedtoolcache/go/1.22.10/x64/src/runtime/asm_amd64.s:1695 (0x477e81)
```
Contributor guide
Assessment
This issue has not been assessed yet.