mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Drop termline dependency
This commit is contained in:
parent
19ffa61f8f
commit
1499ec5def
4 changed files with 43 additions and 106 deletions
|
@ -42,9 +42,10 @@ pub fn main() -> i32 {
|
|||
Ok(line) => {
|
||||
editor.add_history_entry(line.trim());
|
||||
|
||||
let dimensions = editor.dimensions();
|
||||
let repl_helper = editor.helper_mut().expect("Editor helper was not set");
|
||||
|
||||
match repl_helper.step(&line) {
|
||||
match repl_helper.step(&line, dimensions) {
|
||||
Ok(output) => {
|
||||
// If there was no output, don't print a blank line!
|
||||
// (This happens for something like a type annotation.)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue