on master help sign in
Preserve colour themes after :e
195f731David Christiansen
src/Idris/REPL.hs+3−1
@@ -277,7 +277,9 @@ edit f orig
277 let cmd = editor ++ line ++ f
277 let cmd = editor ++ line ++ f
278 liftIO $ system cmd
278 liftIO $ system cmd
279 clearErr
279 clearErr
280− putIState (orig { idris_options = idris_options i })
280+ putIState $ orig { idris_options = idris_options i
281+ , idris_colourTheme = idris_colourTheme i
282+ }
281 loadInputs [f]
283 loadInputs [f]
282 iucheck
284 iucheck
283 return ()
285 return ()