jtdaugherty / vty

A high-level ncurses alternative written in Haskell
BSD 3-Clause "New" or "Revised" License
319 stars 57 forks source link

Problem updating to brick 2 #272

Closed locallycompact closed 7 months ago

locallycompact commented 7 months ago

Hi I don't see a changelog entry for what happened to these symbols. How do I fix this?

test/Hydra/TUISpec.hs:23:3: error:
    Module ‘Graphics.Vty’ does not export ‘outputFd’
   |
23 |   outputFd,
   |   ^^^^^^^^

test/Hydra/TUISpec.hs:24:3: error:
    Module ‘Graphics.Vty’ does not export ‘outputForConfig’
   |
24 |   outputForConfig,
   |   ^^^^^^^^^^^^^^^

test/Hydra/TUISpec.hs:27:3: error:
    Module ‘Graphics.Vty’ does not export ‘termName’
   |
27 |   termName,
   |   ^^^^^^^^

test/Hydra/TUISpec.hs:30:3: error:
    Module
    ‘Graphics.Vty.Platform.Unix’
    does not export
    ‘inputForConfig’
   |
30 |   inputForConfig
   |   ^^^^^^^^^^^^^^
ShrykeWindgrace commented 7 months ago

@locallycompact Which version of vty are you using here? If it is >=6.0, then take a look at https://github.com/jtdaugherty/vty/blob/master/CHANGELOG.md#60 that refactoring indeed changed a lot of imports and exports.

locallycompact commented 7 months ago

I have read the changelog. There's no mention of inputForConfig.

jtdaugherty commented 7 months ago

Hi @locallycompact - here are the details:

I'll update the changelog!

jtdaugherty commented 7 months ago

Changelog updated in ab480e74417fe51172a7b97e644f15c3952aa16a.