Skip to content
Myr

chore: revert "Remove irrelevant option comments"

Before adoption: this commit came in with the history the project adopted, so no landing records it.

This reverts commit 439398b1dd1791a253723819baf8f184a7dcc385.

authored by Ayman Bagabas · committed by Ayman Bagabas · parent b0186ad · Browse files · 1 file+11 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+11 added−0 removed

  • other:+11 added−0 removed

1 file+11 added−0 removed

modified:screen.go+11 added
25 unmodified lines
26// EnterAltScreen is a special command that tells the Bubble Tea program to27// enter the alternate screen buffer (i.e. the full terminal window). The28// altscreen will be automatically exited when the program quits. To manually29// exit the altscreen while the program is running, use [ExitAltScreen].30//31// Because commands run asynchronously, this command should not be used in your32// model's Init function. To initialize your program with the altscreen enabled33// use the WithAltScreen ProgramOption instead.34func EnterAltScreen() Msg {35 return enterAltScreenMsg{}36}37
19 unmodified lines
5758// EnableMouseCellMotion is a special command that enables mouse click,59// release, and wheel events. Mouse movement events are also captured if60// a mouse button is pressed (i.e., drag events).61//62// Because commands run asynchronously, this command should not be used in your63// model's Init function. Use the [WithMouseCellMotion] [ProgramOption]64// instead.65func EnableMouseCellMotion() Msg {66 return enableMouseCellMotionMsg{}67}68
7 unmodified lines
76// button is pressed, effectively enabling support for hover interactions.77//78// Many modern terminals support this, but not all. If in doubt, use79// [EnableMouseCellMotion] instead.80//81// Because commands run asynchronously, this command should not be used in your82// model's Init function. Use the WithMouseAllMotion ProgramOption instead.83func EnableMouseAllMotion() Msg {84 return enableMouseAllMotionMsg{}85}86
171 unmodified lines