@@ -174,6 +174,11 @@ iputStrLn s = do i <- getIState
174174 RawOutput h -> runIO $ hPutStrLn h s
175175 IdeMode n h -> runIO . hPutStrLn h $ convSExp "write-string" s n
176176
177+iputStr :: String -> Idris ()
178+iputStr s = do i <- getIState
179+ case idris_outputmode i of
180+ RawOutput h -> runIO $ hPutStr h s
181+ IdeMode n h -> runIO . hPutStr h $ convSExp "write-string" s n
177182
178183idemodePutSExp :: SExpable a => String -> a -> Idris ()
179184idemodePutSExp cmd info = do i <- getIState