yi-editor / yi

The Haskell-Scriptable Editor
GNU General Public License v2.0
1.5k stars 200 forks source link

in-editor irc client #956

Open Digit opened 7 years ago

Digit commented 7 years ago

as per erc in emacs, there may be similar(ish) ways yi could irc.

to help spark that off, I found this point of intrigue: reddit post - irc client 2 lines of haskell (excluding import lines)

Fuuzetsu commented 7 years ago

Should be a separate package.

FWIW it's only currently possible with yiFork (or was it forkYiM) which is an ugly hack. But it should be possible though not sure about usability. Anyway fastest way to have something is to spawn background thread which does the talking and buffer writing (like in https://github.com/Fuuzetsu/yi-agda/blob/master/src/Yi/Mode/Agda.hs#L341), rest should fall in place.