diff --git a/README.md b/README.md index 139f656..20ba2c4 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,6 @@ Nostr console client using Dart # todo * initial creation of private/pub key ( and loading happens in background) -* new menu system with three top apps: social network, public channels, and DM's * allow special character input, and 256 limit [info](https://www.reddit.com/r/dartlang/comments/xcdsyx/i_am_seeing_that_stdinreadlinesync_returns_only/) # other todo diff --git a/lib/console_ui.dart b/lib/console_ui.dart index 21cbef1..1420e33 100644 --- a/lib/console_ui.dart +++ b/lib/console_ui.dart @@ -892,10 +892,9 @@ Future encryptedChannelMenuUI(Store node) async { justShowedChannels = true; } - String menuInfo = """Encrypted Channel howto: You can create a channel, and then enter the channel by entering the first few unique letters of its pubkey or name. - In case you have been invited to a new channel, you can enter that channel the same way as above. - Once in a room/channel, you can then add new participants by typing '/add ' and pressing enter. - When inside a channel, type '/reply to reply to a post. + String menuInfo = """Encrypted Channel howto: Enter a channel by typing the first few unique letters of its pubkey or full name. + Once in a room/channel: add new participants by typing '/add ' and pressing enter, + To reply to a message, type '/reply , When in a channel, press 'x' to exit. """; int option = showMenu([ 'Enter an encrypted channel', // 1 @@ -1436,7 +1435,8 @@ Future mainMenuUi(Store node) async { default: mainMenuContinue = false; String authorName = getAuthorName(userPublicKey); - print("\nFinished Nostr session for user with name and public key: ${authorName} ($userPublicKey)"); + clearScreen(); + print("\nFinished Nostr session for user: ${authorName} ($userPublicKey)"); if( gEventsFilename != "") { await node.writeEventsToFile(gEventsFilename); } diff --git a/lib/tree_ds.dart b/lib/tree_ds.dart index c0a8451..4693e4f 100644 --- a/lib/tree_ds.dart +++ b/lib/tree_ds.dart @@ -1440,7 +1440,7 @@ class Store { } if( numPrinted > 0) { - print("\nTotal posts printed: $numPrinted for last $gNumLastDays days\n."); + print("\nTotal posts printed: $numPrinted for last $gNumLastDays days.\n"); } return numPrinted; diff --git a/pubspec.yaml b/pubspec.yaml index 386b8c1..b11189d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -5,6 +5,7 @@ homepage: https://github.com/vishalxl/nostr_console # Release 0.1.8-beta # menu changed +# build environment: sdk: '>=2.17.3 <3.0.0'