Navigation überspringen
you can now press ctrl+c on windows opencode, and it won't blow up your terminal...
0:00 / 0:30

you can now press ctrl+c on windows opencode, and it won't blow up your terminal...

Luke Parker

@LukeParkerDev9585 Follower

Auf X besuchen

64.016 Aufrufe

you can now press ctrl+c on windows opencode, and it won't blow up your terminal... no bun fork needed. basic ffi hacks to get around bun issues

57 Kommentare

Kommentare aus dem Originalbeitrag auf X (Twitter)

  • Profilbild von cheaty

    @cheatyyyy

    oh my god my life is immediately 10x better

    21 Likes

  • Profilbild von Luke Parker

    @LukeParkerDev

    I got you - any major pain points for you on windows?

    9 Likes

  • Profilbild von Adelin Mozaceanu

    @AdELiN_94

    @cheatyyyy Any way to paste images from clipboard into windows terminal ?

    1 Like

  • Profilbild von cheaty

    @cheatyyyy

    @LukeParkerDev ctrl + v has always worked fine for me in cmd/pwsh both

    1 Like

  • Profilbild von Luke Parker

    @LukeParkerDev

    @AdELiN_94 whats your exact terminal setup Adelin?

  • Profilbild von FriesLover

    @FriesIlover49

    Do you think there will ever be a way of copy pasting images in opencode in windows? Is very annoying having to download the image, look for it and drop the path in opencode

    3 Likes

  • Profilbild von Luke Parker

    @LukeParkerDev

    for now you can actually do this - for example on windows terminal. sadly it doesnt work with the defaults. can you disable trimming on paste let me know if that works for you

    5 Likes

  • Profilbild von Marchen

    @chisaehawng

    the ffi workaround is clever

    2 Likes

  • Profilbild von Luke Parker

    @LukeParkerDev

    Thanks! It was a hack in the OpenCode piece but I will lower it to opentui so all raw mode TUI apps work correctly

  • Profilbild von Marchen

    @chisaehawng

    nice - that should help a lot more projects

  • Profilbild von Brosnan Hoban

    @BrosnanHoban

    Nice, finally a clean copy-paste flow in terminal

    2 Likes

  • Profilbild von Luke Parker

    @LukeParkerDev

    just note - ctrl+c doesnt copy yet - but it will. windows defaults coming soon

    7 Likes

  • Profilbild von Steve💙🇨🇦

    @xyster

    DUDE!! TELL DAX YOU JUST PAID FOR YOUR MONTH'S SALARY

    1 Like

  • Profilbild von mackle

    @ism0080

    So I don’t need to double spam ctrl+c now?

    1 Like

  • Profilbild von Luke Parker

    @LukeParkerDev

    please install the beta and let me know! are you windows 10 by chance?

    1 Like

  • Profilbild von mackle

    @ism0080

    I’ll try it out! Windows 11. Powershell 7.5.4

    1 Like

  • Profilbild von mackle

    @ism0080

    Looks good 🫡

    1 Like

  • Profilbild von mackle

    @ism0080

    Loads up a bit faster too! I was using scoop for install though so don’t know if there’s a difference between that and direct bun install

    1 Like

  • Profilbild von Luke Parker

    @LukeParkerDev

    Eh, they all use the same compiled Exe, so maybe slight differences but nothing crazy

    1 Like

  • Profilbild von mackle

    @ism0080

    When I debugged the be repo it seemed the bun force install of aws npm packages was the main issue of the slow startup