diff --git a/README.md b/README.md index f6ff999..192c095 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ Calling this method is safe on other platforms. It simply returns true in that c import io.github.alexarchambault.nativeterm.NativeTerminal; import io.github.alexarchambault.nativeterm.TerminalSize; -TerminalSize size = NativeTerminal.size(); +TerminalSize size = NativeTerminal.getSize(); int width = size.getWidth(); int height = size.getHeight(); ```