Comments (5)
+1 i just noticed that!
from tinyfugue.
ah, here:
/ /echo -aCbgblue,BCred Foo!
doesn't work.
/ /echo -aBCred,Cbgblue Foo!
works!
from tinyfugue.
Ok, I figured out why.
It's because the BG colour flag overlaps with the FG colour variable itself.
diff --git a/src/tf.h b/src/tf.h
index d5bd672..a47d6d8 100644
--- a/src/tf.h
+++ b/src/tf.h
@@ -90,7 +90,8 @@ enum enum_attr {
F_FGCOLOR = 0x00000080, /* flag */
# define BGCOLORSHIFT 16
F_BGCOLORMASK = 0x00ff0000, /* 8 bits, interpreted as an integer */
- F_BGCOLOR = 0x00000100, /* flag */
+ F_BGCOLOR = 0x80000000, /* flag (XXX) */
+// F_BGCOLOR = 0x00000100, /* flag - this overlaps with the FG colour */
#else
/* inside the 16 low bits */
# define FGCOLORSHIFT 8
cerise:src adrian$
from tinyfugue.
now, this is a bit terrible because I don't know if the high bit is used, it doesn't LOOK like it from a cursory glance, but that made echo work properly again.
from tinyfugue.
Pull request is here - #61
from tinyfugue.
Related Issues (20)
- Instalacja HOT 4
- ANSII logging HOT 2
- Unable to use SSL to connect.
- Buildsystem doesn't respect DESTDIR HOT 3
- Unable to build with Python support HOT 4
- 24-bit True Color HOT 3
- ssl_continue not working HOT 2
- remote crash, reproducible HOT 1
- Color crash bug HOT 5
- python enhancements HOT 1
- widechar support breaks input on TinyMUX HOT 4
- Hey,happy man:)
- configure doesn't complain about libpcre not being found, and then fails compilation
- Adding world with a character name containing spaces HOT 1
- logging output from lua -> mud
- Color pattern matching HOT 1
- Visual Mode is no longer supported with default compile options
- Logging directly to output log (eg debug logging)
- Expose some more of the tinyfugue internals via lua
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinyfugue.