Comments (2)
I have not tested this, but you could try changing TextTable.swift
This would change everything to right alignment.
func withPadding(count: Int) -> String {
let length = self.strippedLength()
if length < count {
- return self +
- repeatElement(" ", count: count - length).joined()
+ return repeatElement(" ", count: count - length).joined() + self
}
return self
}
from swiftytexttable.
I submitted a pull request. No test, just code but I tested it locally.
from swiftytexttable.
Related Issues (11)
- Run unit tests with SPM HOT 3
- Improve support for escape sequences to support Rainbow. HOT 26
- CocoaPods HOT 1
- Document Public API
- Carthage failing on CI builds (Xcode 9.4 required)
- Swift 4.2 Carthage HOT 1
- new line support for long string
- Multi-Byte Unicode Characters not counted correctly HOT 1
- Published CVE's in Swift text table HOT 2
- Updated Version
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 swiftytexttable.