Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: klange/nyancat
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: mayTermux/nyancat
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 3 commits
  • 2 files changed
  • 1 contributor

Commits on Apr 2, 2022

  1. Copy the full SHA
    7da2a82 View commit details
  2. Add prefix into Makefile

    nihsx committed Apr 2, 2022
    Copy the full SHA
    8f3507c View commit details
  3. fix typo

    nihsx committed Apr 2, 2022
    Copy the full SHA
    5e65c7b View commit details
Showing with 4 additions and 3 deletions.
  1. +3 −2 Makefile
  2. +1 −1 src/nyancat.c
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@ package = nyancat
version = 1.5.2
tarname = $(package)
distdir = $(tarname)-$(version)
prefix = /data/data/com.termux/files/usr

all clean check nyancat:
cd src && $(MAKE) $@
@@ -33,7 +34,7 @@ distcheck: $(distdir).tar.gz
@echo "*** Package $(distdir).tar.gz is ready for distribution."

install: all
install src/nyancat /usr/bin/${package}
gzip -9 -c < nyancat.1 > /usr/share/man/man1/nyancat.1.gz
install src/nyancat $(destdir)$(prefix)/bin/${package}
gzip -9 -c < nyancat.1 > $(destdir)$(prefix)/share/man/man1/nyancat.1.gz

.PHONY: FORCE all clean check dist distcheck install
2 changes: 1 addition & 1 deletion src/nyancat.c
Original file line number Diff line number Diff line change
@@ -630,7 +630,7 @@ int main(int argc, char ** argv) {

switch (ttype) {
case 1:
colors[','] = "\033[48;5;17m"; /* Blue background */
colors[','] = "\033[49m"; /* Blue background */
colors['.'] = "\033[48;5;231m"; /* White stars */
colors['\''] = "\033[48;5;16m"; /* Black border */
colors['@'] = "\033[48;5;230m"; /* Tan poptart */