Permalink
Browse files

vert: load srly for tcsetattr/tcgetattr

srly is optional but trying to use the console without it will throw a
nasty looking exception.
  • Loading branch information...
msantos committed Aug 25, 2012
1 parent 6479a96 commit 997fdd4db610550d1b7a786d0dbb1728345560fa
Showing with 5 additions and 0 deletions.
  1. +5 −0 bin/vert
View
@@ -7,6 +7,11 @@ main(Opt) ->
% load vert
true = code:add_pathz(filename:dirname(escript:script_name())
++ "/../ebin"),
+
+ % load srly for tcsetattr (optional)
+ code:add_pathz(filename:dirname(escript:script_name())
+ ++ "/../deps/srly/ebin"),
+
call(Opt).
call(["capabilities" | Arg]) ->

0 comments on commit 997fdd4

Please sign in to comment.