A comprehensive guide to organizing and managing effects in terminal applications using tachyonfx's EffectManager with custom registry patterns.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # VERBOSE | |
| regexp=\sV/[\w.]+: | |
| colours=bold black | |
| - | |
| # DEBUG | |
| regexp=\sD/[\w.]+: | |
| colours=green | |
| - | |
| # INFO | |
| regexp=\sI/[\w.]+: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package sift.template.sandbox | |
| import com.github.ajalt.mordant.rendering.TextStyles.bold | |
| import com.github.ajalt.mordant.rendering.TextStyles.inverse | |
| import sift.core.dsl.Classes | |
| import sift.core.dsl.type | |
| import sift.core.dsl.template | |
| import sift.core.entity.Entity | |
| import sift.core.graphviz.Dot | |
| import sift.core.graphviz.Shape |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env zsh | |
| # | |
| # Screen Recording Script | |
| # ---------------------- | |
| # | |
| # Records a selected window on your X11 display using FFmpeg. The script prompts | |
| # you to click on a window, then automatically starts recording it to ${PWD}/output.mp4. | |
| # | |
| # Prerequisites: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use std::cell::RefCell; | |
| use std::hash::{BuildHasher, Hash, Hasher}; | |
| use foldhash::fast::RandomState; | |
| use ratatui::buffer::{Buffer, Cell}; | |
| use ratatui::layout::{Position, Rect}; | |
| /// Caches and replays ratatui buffer changes for optimized rendering | |
| /// | |
| /// WormBuffer records only the cells that change during widget rendering, allowing | |
| /// expensive layouts to be computed once and then replayed efficiently. On first |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Unbind default prefix and set Ctrl-a | |
| unbind C-b | |
| set -g prefix C-a | |
| bind C-a send-prefix | |
| # General | |
| set -g mouse on | |
| set -g history-limit 50000 | |
| set -g base-index 1 | |
| set -g pane-base-index 1 |
OlderNewer