Fix windows build
diff --git a/src/tty/windows.rs b/src/tty/windows.rs
index 210cefe..e3a3aa5 100644
--- a/src/tty/windows.rs
+++ b/src/tty/windows.rs
@@ -313,7 +313,7 @@
             // display the prompt
             ab.push_str(&highlighter.highlight_prompt(prompt));
             // display the input line
-            ab.push_str(&highlighter.highlight(line, pos));
+            ab.push_str(&highlighter.highlight(line, line.pos()));
         } else {
             // display the prompt
             ab.push_str(prompt);