Skip to content

Commit 56d44d2

Browse files
authored
Merge pull request #8 from mpickering/wip/romes/output-event-category
2 parents 840bd49 + 56cc925 commit 56d44d2

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/DAP/Types.hs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ module DAP.Types
8181
, TerminatedEvent (..)
8282
, ThreadEvent (..)
8383
, OutputEvent (..)
84+
, OutputEventCategory (..)
8485
, BreakpointEvent (..)
8586
, ModuleEvent (..)
8687
, LoadedSourceEvent (..)
@@ -2296,11 +2297,11 @@ instance ToJSON ThreadEventReason where
22962297
toJSON reason = genericToJSONWithModifier reason
22972298
----------------------------------------------------------------------------
22982299
data OutputEventCategory
2299-
= Console
2300-
| Important
2301-
| Stdout
2302-
| Stderr
2303-
| Telemetry
2300+
= OutputEventCategoryConsole
2301+
| OutputEventCategoryImportant
2302+
| OutputEventCategoryStdout
2303+
| OutputEventCategoryStderr
2304+
| OutputEventCategoryTelemetry
23042305
| OutputEventCategory Text
23052306
deriving stock (Show, Eq, Generic)
23062307
----------------------------------------------------------------------------

0 commit comments

Comments
 (0)