mirror of
https://github.com/vishalxl/nostr_console.git
synced 2025-03-29 19:21:49 +01:00
increased event id printed to 6 from 4
This commit is contained in:
parent
68c9fb9bdb
commit
9300828945
@ -653,7 +653,7 @@ class EventData {
|
||||
}
|
||||
|
||||
|
||||
int n = 4;
|
||||
int n = 6;
|
||||
String maxN(String v) => v.length > n? v.substring(0,n) : v.substring(0, v.length);
|
||||
|
||||
String name = getAuthorName(pubkey);
|
||||
@ -709,7 +709,7 @@ class EventData {
|
||||
|
||||
strToPrint += "${name}: ";
|
||||
const int typicalxLen = "|id: 82b5 , 12:04 AM Sep 19".length + 5; // not sure where 5 comes from
|
||||
String idDateLikes = " |id: ${maxN(id)} , $strDate ${getReactionStr(depth)}" ;
|
||||
String idDateLikes = " |id: ${maxN(id)}, $strDate ${getReactionStr(depth)}" ;
|
||||
idDateLikes = idDateLikes.padRight(typicalxLen);
|
||||
|
||||
String temp = tempEvaluatedContent==""?tempContent: tempEvaluatedContent;
|
||||
|
@ -1,12 +1,12 @@
|
||||
name: nostr_console
|
||||
description: A multi-platform nostr client built for terminal/console
|
||||
version: 0.2.6-beta
|
||||
version: 0.2.7-beta
|
||||
homepage: https://github.com/vishalxl/nostr_console
|
||||
|
||||
|
||||
# crated location and t rooms
|
||||
# t tags added for all tags
|
||||
|
||||
# improved relay, fetching logic and added more default pubkeys to fetch
|
||||
# incresed user id lenth to 5, and event id len to 6 in SN
|
||||
|
||||
environment:
|
||||
sdk: '>=2.17.3 <3.0.0'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user