-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add user-defined output formatting (#33)
* Add user-defined formatting * Add default format to man page * Use snake case for buffer_pos * Style * Remove size limitation on format * Print formatted string directly * Optimisations
- Loading branch information
1 parent
a780cfa
commit f68c9bf
Showing
2 changed files
with
53 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,10 +34,27 @@ select, or click to cancel the selection. | |
*-w* _weight_ | ||
Set border weight. | ||
|
||
*-f* _format_ | ||
Set format. See *FORMAT* for more detail. | ||
|
||
# COLORS | ||
|
||
Colors may be specified in #RRGGBB or #RRGGBBAA format. The # is optional. | ||
|
||
# FORMAT | ||
|
||
Interpreted sequences are: | ||
|
||
%x The x-coordinate of the selection | ||
|
||
%y The y-coordinate of the selection | ||
|
||
%w The width of the selection | ||
|
||
%h The height of the selection | ||
|
||
The default format is "%x,%y %wx%h". | ||
|
||
# AUTHORS | ||
|
||
Maintained by Simon Ser <[email protected]>, who is assisted by other | ||
|