summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Lukáš Jiřiště [Mon, 11 Mar 2024 13:39:21 +0000 (14:39 +0100)]
Change the addition for proper ordering
The boss addition relied on ft_vec_append which makes the new entry be
at the end. This messes with the ordering as added entries are ready to
be defeated hence should be at the top. This commit uses insert to
insert the new entry to the very top which conserves the ordering
property.
Lukáš Jiřiště [Mon, 11 Mar 2024 13:27:17 +0000 (14:27 +0100)]
Implement j, k for up and down movement in -l mode
This led to the necessity to rename kill to defeat.
The option -k has thus been renamed -d and in the loop mode
"d" key is used for what "k" used to do.
Lukáš Jiřiště [Mon, 11 Mar 2024 13:18:16 +0000 (14:18 +0100)]
Update TODO
I should have updated it in the commits that introduced the changes...
Lukáš Jiřiště [Mon, 11 Mar 2024 13:17:06 +0000 (14:17 +0100)]
Add color to the output
Lukáš Jiřiště [Mon, 11 Mar 2024 13:03:02 +0000 (14:03 +0100)]
Fix "minor" issues
Fix off by one error caused by using the whole terminal height instead
of the height used by the table (without the header).
Add missing initialization.
Fix terminal position indexing as it is 1 based (not 0 based).
Handle newline after printing entry separately in the loop mode as when
the entry at the very bottom of the terminal emits newline the
whole output shifts (erasing header).
Lukáš Jiřiště [Fri, 8 Mar 2024 23:17:29 +0000 (00:17 +0100)]
Implement the basis of the loop mode
Implement basic non-canonical handling.
Needs some tuning.
Lukáš Jiřiště [Thu, 7 Mar 2024 09:55:06 +0000 (10:55 +0100)]
Implement -h flag and specific boss printing
Also prepare a little for -l flag.
Lukáš Jiřiště [Thu, 7 Mar 2024 09:32:41 +0000 (10:32 +0100)]
Implement palboss program