You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
My character set, ISO-8859-15 (Latin9), is not supported.
To Reproduce
Steps to reproduce the behavior:
$ git init test
Initialized empty Git repository in /tmp/test/.git/
$ lazygit
2021/05/26 15:22:01 An error occurred! Please create an issue at: https://github.com/jesseduffield/lazygit/issues
*errors.errorString character set not supported
/home/runner/work/lazygit/lazygit/main.go:134 (0xa2f7fb)
/opt/hostedtoolcache/go/1.16.3/x64/src/runtime/proc.go:225 (0x4389d6)
/opt/hostedtoolcache/go/1.16.3/x64/src/runtime/asm_amd64.s:1371 (0x46c621)
$ echo $?
1
$ echo $LC_CTYPE
en_US.ISO-8859-15
$ echo $LANG
en_US.ISO-8859-15
$
Expected behavior
lazygit should work without problems.
From what I see on the screenshots/casts, all characters could be replaced by even 7-bit ASCII variants:
up/down arrow in status panel: ^/v or u/d
"left/right/up/down arrow: navigate" in bottom line: "left/right/up/down: navigate" or "cursor keys: navigate"
line drawing characters: Either use "+-|" or use ncurses extended charset, which is supposedly compatible to everything:
URL: http://melvilletheatre.com/articles/ncurses-extended-characters/index.html
"Extended characters are designed to be portable between terminals, and should generate usable output from anything that you can run NCURSES on."
The only two noticeable problems on these screenshots:
Top left and right corner of collapsed/backgrounded panels have a question mark instead of a horizontal line drawing character (non-UTF8 screenshots only)
The help text in the bottommost line gets partially overwritten by "Donate Ask Question" (all screenshots)
The double quote-mark left of "init-this-repo.sh" is probably not a character conversion artifact, but means "untracked", I guess -- have not gotten around to really test lazygit because of the previous unability to start it at all.
I reproduced that first issue locally and I've resolved it by just using spaces instead of those edge characters (given that using direct hyphens looks weird and tcell won't let me use the other hyphen-y characters as fallbacks).
The second issue you mention is actually normal (arguably the blue text should get priority though).
I've gone ahead and merged that PR. Lemme know if there are any more issues you come across and I'll re-open this issue :)
Describe the bug
My character set, ISO-8859-15 (Latin9), is not supported.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
lazygit should work without problems.
From what I see on the screenshots/casts, all characters could be replaced by even 7-bit ASCII variants:
URL: http://melvilletheatre.com/articles/ncurses-extended-characters/index.html
"Extended characters are designed to be portable between terminals, and should generate usable output from anything that you can run NCURSES on."
Desktop:
References
Might be related to #24 and #422.
The text was updated successfully, but these errors were encountered: