Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a /status_clear command that clears an entire row. #70

Merged
merged 1 commit into from
Jul 7, 2023

Conversation

erikarn
Copy link
Contributor

@erikarn erikarn commented Jul 4, 2023

This is a simple and quick hack that clears the given row. The old way (clearing the status_line variable) isn't useful for status rows >1, and using status_add to do it requires you add something first.

This way everything can be dragged back to clean.

lib/tf/tf-help Outdated
#status_edit
#status_defaults
#status_save
#status_restore
#status_add
#/clock
#/status_rm
#status_clear
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#status_clear
#/status_clear

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated!

This is a simple and quick hack that clears the given row.
The old way (clearing the status_line variable) isn't useful for
status rows >1, and using status_add to do it requires you add
something first.

This way everything can be dragged back to clean.
@erikarn erikarn force-pushed the 20230704_ahc_add_status_clear branch from 90d4ec2 to b814e32 Compare July 6, 2023 22:31
@ingwarsw ingwarsw merged commit 7e8d796 into ingwarsw:main Jul 7, 2023
18 of 19 checks passed
@ingwarsw
Copy link
Owner

ingwarsw commented Jul 7, 2023

@erikarn Thanks a lot..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants