mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-30 06:37:14 +09:00
config: Don't hardcode the fakecursor under Windows console any longer (#3959)
* config: Don't hardcode the `fakecursor` under Windows console any longer We just set the global default and allow the user to override it. * help: Add a concrete note for the `fakecursor` option in the Windows Console
This commit is contained in:
@@ -8,7 +8,6 @@ import (
|
||||
|
||||
"github.com/micro-editor/tcell/v2"
|
||||
"github.com/zyedidia/micro/v2/internal/config"
|
||||
"github.com/zyedidia/micro/v2/internal/util"
|
||||
)
|
||||
|
||||
// Screen is the tcell screen we use to draw to the terminal
|
||||
@@ -90,7 +89,7 @@ func ShowFakeCursor(x, y int) {
|
||||
}
|
||||
|
||||
func UseFake() bool {
|
||||
return util.FakeCursor || config.GetGlobalOption("fakecursor").(bool)
|
||||
return config.GetGlobalOption("fakecursor").(bool)
|
||||
}
|
||||
|
||||
// ShowFakeCursorMulti is the same as ShowFakeCursor except it does not
|
||||
|
||||
Reference in New Issue
Block a user