From 439398b1dd1791a253723819baf8f184a7dcc385 Mon Sep 17 00:00:00 2001 From: nervo Date: Fri, 7 Feb 2025 09:27:10 +0100 Subject: [PATCH] Remove irrelevant option comments --- screen.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/screen.go b/screen.go index e8d337228a..daf3360935 100644 --- a/screen.go +++ b/screen.go @@ -27,10 +27,6 @@ type clearScreenMsg struct{} // enter the alternate screen buffer (i.e. the full terminal window). The // altscreen will be automatically exited when the program quits. To manually // exit the altscreen while the program is running, use [ExitAltScreen]. -// -// Because commands run asynchronously, this command should not be used in your -// model's Init function. To initialize your program with the altscreen enabled -// use the WithAltScreen ProgramOption instead. func EnterAltScreen() Msg { return enterAltScreenMsg{} } @@ -58,10 +54,6 @@ type exitAltScreenMsg struct{} // EnableMouseCellMotion is a special command that enables mouse click, // release, and wheel events. Mouse movement events are also captured if // a mouse button is pressed (i.e., drag events). -// -// Because commands run asynchronously, this command should not be used in your -// model's Init function. Use the [WithMouseCellMotion] [ProgramOption] -// instead. func EnableMouseCellMotion() Msg { return enableMouseCellMotionMsg{} } @@ -77,9 +69,6 @@ type enableMouseCellMotionMsg struct{} // // Many modern terminals support this, but not all. If in doubt, use // [EnableMouseCellMotion] instead. -// -// Because commands run asynchronously, this command should not be used in your -// model's Init function. Use the WithMouseAllMotion ProgramOption instead. func EnableMouseAllMotion() Msg { return enableMouseAllMotionMsg{} }