Skip to content

Commit

Permalink
Remove irrelevant option comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nervo authored and meowgorithm committed Feb 7, 2025
1 parent c66daf9 commit 439398b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions screen.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}
}
Expand Down Expand Up @@ -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{}
}
Expand All @@ -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{}
}
Expand Down

0 comments on commit 439398b

Please sign in to comment.