Better support for Windows terminals

* Default border style on Windows is changed to `sharp` because some
  Windows terminals are not capable of displaying `rounded` border
  characters correctly.
* If your terminal emulator renders each box-drawing character with
  2 columns, set `RUNEWIDTH_EASTASIAN` environment variable to `1`.
This commit is contained in:
Junegunn Choi committed 2023-01-16 01:26:39 +09:00
1 parent 1c83b39691
commit 0c5956c43c
8 files changed
+66 -30

No files matched your search

+1
View File
@@ -410,6 +410,7 @@ type Renderer interface {
RefreshWindows(windows []Window)
Refresh()
Close()
NeedScrollbarRedraw() bool
GetChar() Event