Giter Site home page Giter Site logo

Windows support about micro HOT 7 CLOSED

zyedidia avatar zyedidia commented on May 18, 2024 7
Windows support

from micro.

Comments (7)

mkody avatar mkody commented on May 18, 2024 1

So the biggest issue I've got so far is that I can't use the backspace, it opens the help page.
Also, if I click somewhere, it crashes.

Micro encountered an error: runtime error: index out of range
runtime.errorString runtime error: index out of range
c:/go/src/runtime/panic.go:423 (0x435e8d)
c:/go/src/runtime/panic.go:12 (0x4347d3)
H:/Documents/dev/micro/src/cursor.go:282 (0x4055c0)
        (*Cursor).GetCharPosInLine: visualLine := strings.Replace(c.v.buf.lines[lineNum], "\t", "\t"+Spaces(tabSize-1), -1)
H:/Documents/dev/micro/src/view.go:334 (0x40ee6a)
        (*View).MoveToMouseClick: x = v.cursor.GetCharPosInLine(y, x)
H:/Documents/dev/micro/src/view.go:517 (0x40f148)
        (*View).HandleEvent: v.MoveToMouseClick(x, y)
H:/Documents/dev/micro/src/micro.go:170 (0x40ae2d)
        main: view.HandleEvent(event)
c:/go/src/runtime/proc.go:111 (0x438134)
c:/go/src/runtime/asm_386.s:1662 (0x45c7e1)

from micro.

zyedidia avatar zyedidia commented on May 18, 2024

I actually have no idea what's missing, it might even run perfectly on Windows.

I don't own a Windows machine and have not tested micro on Windows at all. Technically it compiles (well, I was able to cross-compile a Windows exe) but I don't know whether there are any problems with it at runtime.
Tcell (the terminal library I am using for micro) says it supports Windows so that's good.

Really I guess I need someone to try and run it on Windows and report any issues here.

from micro.

mkody avatar mkody commented on May 18, 2024

Oh well, I was trying to install it right now by just running the make command with MinGW installed, but mkdir -p ~/.micro didn't work well, it created a ~ folder in the current directory (and I've nuked my HOME when trying to delete that folder...)

I'm going to try again.

from micro.

aerth avatar aerth commented on May 18, 2024

Mouse thing related to #16

from micro.

aerth avatar aerth commented on May 18, 2024

micro exe

from micro.

leonardosnt avatar leonardosnt commented on May 18, 2024

👍

from micro.

zyedidia avatar zyedidia commented on May 18, 2024

Delete should work on Windows now. The only issue (I think) that remains is #23 but that's more general than just Windows, so I'm going to close this now.

from micro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.